[PR #6181] fix: opencode web baseURL error #11767

Closed
opened 2026-02-16 18:16:42 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6181

State: closed
Merged: Yes


When you run opencode web and try to access it over a tailscale network, for example, on a url like nixos:4096, we try to connect to the opencode client on localhost:4096 which isn't accessible.

This fixes that by defaulting to the current URL.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6181 **State:** closed **Merged:** Yes --- When you run `opencode web` and try to access it over a tailscale network, for example, on a url like `nixos:4096`, we try to connect to the opencode client on `localhost:4096` which isn't accessible. This fixes that by defaulting to the current URL.
yindo added the pull-request label 2026-02-16 18:16:42 -05:00
yindo closed this issue 2026-02-16 18:16:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11767