mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 07:30:25 +00:00
Docker: seed localhost control UI origin
This commit is contained in:
@@ -106,7 +106,7 @@ ensure_control_ui_allowed_origins() {
|
||||
|
||||
local allowed_origin_json
|
||||
local current_allowed_origins
|
||||
allowed_origin_json="$(printf '["http://127.0.0.1:%s"]' "$OPENCLAW_GATEWAY_PORT")"
|
||||
allowed_origin_json="$(printf '["http://localhost:%s","http://127.0.0.1:%s"]' "$OPENCLAW_GATEWAY_PORT" "$OPENCLAW_GATEWAY_PORT")"
|
||||
current_allowed_origins="$(
|
||||
run_setup_cli config get gateway.controlUi.allowedOrigins 2>/dev/null || true
|
||||
)"
|
||||
|
||||
Reference in New Issue
Block a user