mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 01:12:15 +00:00
fix: opencode web baseURL error (#6181)
This commit is contained in:
parent
25c68c8061
commit
1bcf8d8806
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ const url = iife(() => {
|
|||
if (import.meta.env.DEV)
|
||||
return `http://${import.meta.env.VITE_OPENCODE_SERVER_HOST ?? "localhost"}:${import.meta.env.VITE_OPENCODE_SERVER_PORT ?? "4096"}`
|
||||
|
||||
return "http://localhost:4096"
|
||||
return window.location.origin
|
||||
})
|
||||
|
||||
export function App() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue