diff --git a/src/lib/gateway.ts b/src/lib/gateway.ts index 4d1d03c..f8f442a 100644 --- a/src/lib/gateway.ts +++ b/src/lib/gateway.ts @@ -50,7 +50,7 @@ export class GatewayClient { this.wsUrl = wsUrl || `ws://${window.location.hostname}:18789`; this.authToken = authToken || ''; this.authMode = authMode || 'token'; - this.clientId = clientId || import.meta.env.VITE_CLIENT_ID || 'webchat'; + this.clientId = clientId || import.meta.env.VITE_CLIENT_ID || 'openclaw-control-ui'; } /** Update credentials (e.g. after login). Does not reconnect automatically. */