Revert "server: ensure frontend has correct port for PTY websocket connections (#5898)"

This reverts commit a05915ddc8.
This commit is contained in:
Adam 2025-12-22 06:05:10 -06:00
commit 2c16b9fa61
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
2 changed files with 13 additions and 23 deletions

View file

@ -35,7 +35,7 @@ const url =
new URLSearchParams(document.location.search).get("url") ||
(location.hostname.includes("opencode.ai") || location.hostname.includes("localhost")
? `http://${host}:${port}`
: window.location.origin)
: "/")
export function App() {
return (