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
Opencode web change /sub-dir/ in url location? #13847
But you can't change the access subdirectory.
Errors occur when logging in. The JavaScript loaded by the web version must be placed in the root of the domain. API requests are sent to the wrong URL. The server becomes unavailable.
These issues share similar concerns about running OpenCode web behind proxies with custom configurations. You may want to review them for context on ongoing work in this area.
Activity
github-actions commentedon Feb 16, 2026
This issue might be related to existing feature requests about web proxy configuration:
These issues share similar concerns about running OpenCode web behind proxies with custom configurations. You may want to review them for context on ongoing work in this area.
onixau-go commentedon Feb 28, 2026
This HTML returns "index" when opened by Opencode Web.
The problem is that all the relative paths specified in this HTML are relative to the root domain and do not assume the Opencode-Web editor is located at https://domain/opencode-folder/.
Adding a period to all the relative paths is enough for everything to work.
You may also need to modify all JavaScript fetch requests in the same way.
github-actions commentedon Apr 30, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
ramonpaolo commentedon May 3, 2026
I tried it now and it works
You can try this PR?
#25513