diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx index 7c38d77853..d4ba56f3c5 100644 --- a/apps/web/src/routes/__root.tsx +++ b/apps/web/src/routes/__root.tsx @@ -94,6 +94,9 @@ export const Route = createRootRouteWithContext<{ if (location.pathname === "/pair") { throw error; } + if (!isHostedStaticApp(new URL(window.location.href))) { + throw error; + } await waitForSavedEnvironmentRegistryHydration(); return {