don't override allow flag, use config file
This commit is contained in:
parent
9e89f04691
commit
78b455c8ab
@ -186,7 +186,7 @@ function start_agentapi() {
|
|||||||
# Build boundary args with conditional --unprivileged flag
|
# Build boundary args with conditional --unprivileged flag
|
||||||
BOUNDARY_ARGS=(--log-dir "$ARG_BOUNDARY_LOG_DIR")
|
BOUNDARY_ARGS=(--log-dir "$ARG_BOUNDARY_LOG_DIR")
|
||||||
# Add default allowed URLs
|
# Add default allowed URLs
|
||||||
BOUNDARY_ARGS+=(--allow "domain=anthropic.com" --allow "domain=registry.npmjs.org" --allow "domain=sentry.io" --allow "domain=claude.ai" --allow "domain=$ARG_CODER_HOST")
|
# BOUNDARY_ARGS+=(--allow "domain=anthropic.com" --allow "domain=registry.npmjs.org" --allow "domain=sentry.io" --allow "domain=claude.ai" --allow "domain=$ARG_CODER_HOST")
|
||||||
|
|
||||||
# Add any additional allowed URLs from the variable
|
# Add any additional allowed URLs from the variable
|
||||||
if [ -n "$ARG_BOUNDARY_ADDITIONAL_ALLOWED_URLS" ]; then
|
if [ -n "$ARG_BOUNDARY_ADDITIONAL_ALLOWED_URLS" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user