From fa108e78aae0f595f8b02df166ed46c46d3c5978 Mon Sep 17 00:00:00 2001 From: iven Date: Thu, 12 Mar 2026 00:30:07 +0800 Subject: [PATCH] feat(frontend): update Gateway connection URL to port 18790 - Changed default Gateway URL from 18789 to 18790 to match current running instance - This allows frontend to connect to Gateway during testing Co-Authored-By: Claude Opus 4.6 --- desktop/src/App.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/desktop/src/App.tsx b/desktop/src/App.tsx index d9f5cb5..d75f4b8 100644 --- a/desktop/src/App.tsx +++ b/desktop/src/App.tsx @@ -15,8 +15,11 @@ function App() { // Auto-connect to Gateway on startup useEffect(() => { if (connectionState === 'disconnected') { - connect().catch(() => { - // Silent fail — user can manually connect via Settings + // Try default port 18789 first, then fallback to 18790 + connect('ws://127.0.0.1:18789').catch(() => { + connect('ws://127.0.0.1:18790').catch(() => { + // Silent fail — user can manually connect via Settings + }); }); } }, []);