fix: treat WSL sidecars as local

This commit is contained in:
LukeParkerDev
2026-04-19 13:15:25 +10:00
parent 2cd61113c1
commit b321a2de2b
+1 -1
View File
@@ -221,7 +221,7 @@ export const { use: useServer, provider: ServerProvider } = createSimpleContext(
)
const isLocal = createMemo(() => {
const c = current()
return (c?.type === "sidecar" && c.variant === "base") || (c?.type === "http" && isLocalHost(c.http.url))
return c?.type === "sidecar" || (c?.type === "http" && isLocalHost(c.http.url))
})
return {