From 0ef3b998bbbf0c6a865627747a3f9db21c98a69f Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Tue, 27 Jan 2026 23:28:31 -0800 Subject: [PATCH] fix: default inspector endpoint to localhost:2468 --- frontend/packages/inspector/src/App.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/packages/inspector/src/App.tsx b/frontend/packages/inspector/src/App.tsx index f7f7c30..38d5d0a 100644 --- a/frontend/packages/inspector/src/App.tsx +++ b/frontend/packages/inspector/src/App.tsx @@ -43,12 +43,7 @@ const buildStubItem = (itemId: string, nativeItemId?: string | null): UniversalI }; const getDefaultEndpoint = () => { - if (typeof window === "undefined") return "http://127.0.0.1:2468"; - const { origin, protocol } = window.location; - if (!origin || origin === "null" || protocol === "file:") { - return "http://127.0.0.1:2468"; - } - return origin; + return "http://localhost:2468"; }; const getInitialConnection = () => {