Files
openclaw/ui
Ben Gitter 413d41a79a Normalize basePath before building default WebSocket URL
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>
2026-03-01 20:43:06 +01:00
..