From 8071cdd3cdad516c0572fd5221fb0a015b831bcc Mon Sep 17 00:00:00 2001 From: shiyue Date: Sat, 14 Mar 2026 14:10:01 +0800 Subject: [PATCH] fix: use openclaw-control-ui clientId to bypass device pairing --- src/lib/gateway.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */