fix(win32): e2e sometimes fails because windows is weird and sometimes ipv6 (#14833)

This commit is contained in:
Luke Parker
2026-02-24 09:27:00 +10:00
committed by GitHub
parent 284251ad66
commit 0a91196919
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import { createOpencodeClient } from "@opencode-ai/sdk/v2/client"
import { base64Encode } from "@opencode-ai/util/encode"
export const serverHost = process.env.PLAYWRIGHT_SERVER_HOST ?? "localhost"
export const serverHost = process.env.PLAYWRIGHT_SERVER_HOST ?? "127.0.0.1"
export const serverPort = process.env.PLAYWRIGHT_SERVER_PORT ?? "4096"
export const serverUrl = `http://${serverHost}:${serverPort}`