fix(app): no custom url param

pull/5339/head
adamelmore 2026-01-09 11:02:44 -06:00
parent 18cf4df6c6
commit cbb3141130
No known key found for this signature in database
GPG Key ID: 9CB48779AF150E75
1 changed files with 0 additions and 3 deletions

View File

@ -38,9 +38,6 @@ declare global {
}
const defaultServerUrl = iife(() => {
const param = new URLSearchParams(document.location.search).get("url")
if (param) return param
if (location.hostname.includes("opencode.ai")) return "http://localhost:4096"
if (window.__OPENCODE__) return `http://127.0.0.1:${window.__OPENCODE__.port}`
if (import.meta.env.DEV)