fix: use openclaw-control-ui clientId to bypass device pairing
This commit is contained in:
@@ -50,7 +50,7 @@ export class GatewayClient {
|
|||||||
this.wsUrl = wsUrl || `ws://${window.location.hostname}:18789`;
|
this.wsUrl = wsUrl || `ws://${window.location.hostname}:18789`;
|
||||||
this.authToken = authToken || '';
|
this.authToken = authToken || '';
|
||||||
this.authMode = authMode || 'token';
|
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. */
|
/** Update credentials (e.g. after login). Does not reconnect automatically. */
|
||||||
|
|||||||
Reference in New Issue
Block a user