Revert "server: ensure frontend has correct port for PTY websocket connections (#5898)"
This reverts commit a05915ddc8.
This commit is contained in:
parent
b0c860a17b
commit
cc572343be
2 changed files with 13 additions and 23 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue