mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-20 06:20:55 +00:00
When window.__OPENCLAW_CONTROL_UI_BASE_PATH__ is set, normalize it via normalizeBasePath() before concatenation — matching what inferBasePath() in app-settings.ts already does. Without this, values like "openclaw" (no leading slash) or "/openclaw/" (trailing slash) produce malformed WebSocket URLs on first load. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>