mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-29 19:34:32 +00:00
fix: treat WSL sidecars as local
This commit is contained in:
parent
2cd61113c1
commit
b321a2de2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue