fix: use openclaw-control-ui clientId to bypass device pairing
Some checks failed
CI / build (20) (push) Has been cancelled
CI / build (22) (push) Has been cancelled
Docker / build-and-push (push) Has been cancelled
CI / notify-failure (push) Has been cancelled

This commit is contained in:
shiyue
2026-03-14 14:10:01 +08:00
parent a03e8db621
commit 8071cdd3cd

View File

@@ -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. */