You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
allow overriding web client deployment path / bundle web client with opencode binary. #6352
i've had situations where my docker deployment of an opencode server fails to hit this proxy url sometimes. also, if this hosted deployment gets an update that isn't compatible with the current server, it will break.
c.req.path includes the project's path, leaking it to the external server. this isn't a big deal for me since i work on projects that are publicly accessible
i found this because i was trying to add a patch to the web interface, with the first question being "how do i run it in dev mode". for contributing, it would be very useful if this url could be overridden to always refer to the local bundle copy.
can that be done? i'd be fine opening a pr to sort that out (additionally making sure that dev mode works; it appears to not work when replacing the URL)
Reacted by gempir, Mathieu Virbel, Fredrik Reveny, Jan Johannes, Jonas and firengate
Serve on custom port / remote server broken #6063: Serve on custom port / remote server broken - Reports issues with the web frontend being hardcoded to localhost:4096 and not working with custom ports/remote servers
Feel free to ignore if none of these address your specific case.
last activity was on feb 26th inside of the linked pr that aims to resolve this. since this issue was not closed i will not open a new one, assuming you just copy pasted on all issues.
Activity
github-actions commentedon Dec 29, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
feat(web): embed UI in binary; bypass auth for static routes
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
paperclover commentedon Mar 25, 2026
last activity was on feb 26th inside of the linked pr that aims to resolve this. since this issue was not closed i will not open a new one, assuming you just copy pasted on all issues.
up to date permalink proving relevancy:
opencode/packages/opencode/src/server/server.ts
Line 538 in 5179b87