fix: treat WSL sidecars as local

This commit is contained in:
LukeParkerDev
2026-04-16 15:04:18 +10:00
parent 2cd61113c1
commit b321a2de2b

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 {