The open source coding agent.
TypeScript
fix: `opencode web` baseURL error (#6181)
Rohan Godha1bcf8d88065c
diff --git a/packages/app/src/app.tsx b/packages/app/src/app.tsxindex 11216643e5b..de8fcf7d124 100644--- a/packages/app/src/app.tsx+++ b/packages/app/src/app.tsx@@ -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() {