opencode
opencode copied to clipboard
fix: `opencode web` baseURL error
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.