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 committed by Aiden Cline
commit cc572343be
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 (