From 3bb305bc38c329b6fe04ace30520899a8cc2172a Mon Sep 17 00:00:00 2001 From: LukeGus Date: Fri, 22 May 2026 15:55:03 -0500 Subject: [PATCH] fix: websocket auth error electron --- src/ui/main-axios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/main-axios.ts b/src/ui/main-axios.ts index 30d174c6..0ea5f2d7 100644 --- a/src/ui/main-axios.ts +++ b/src/ui/main-axios.ts @@ -874,7 +874,7 @@ function initializeApp() { if (isElectron()) { Promise.all([getServerConfig(), getEmbeddedServerStatus()]) .then(([config, status]) => { - if (status?.embedded && status?.running) { + if (status?.embedded && status?.running && !config?.serverUrl) { embeddedMode = true; } if (config?.serverUrl) {