summaryrefslogtreecommitdiffhomepage
path: root/packages/tui
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-03 16:35:37 -0400
committerDax Raad <[email protected]>2025-06-03 16:35:37 -0400
commit1e063e79376537571701a785b1d5cbafcb9a3344 (patch)
tree87ba2778f24718b575b34f32798b39c3593b182c /packages/tui
parent37c34fd39c5cc21bc4176d5201fb90369736054f (diff)
downloadopencode-1e063e79376537571701a785b1d5cbafcb9a3344.tar.gz
opencode-1e063e79376537571701a785b1d5cbafcb9a3344.zip
fix port issue
Diffstat (limited to 'packages/tui')
-rw-r--r--packages/tui/cmd/opencode/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tui/cmd/opencode/main.go b/packages/tui/cmd/opencode/main.go
index 0128f41be..a6e6c6ea3 100644
--- a/packages/tui/cmd/opencode/main.go
+++ b/packages/tui/cmd/opencode/main.go
@@ -17,7 +17,7 @@ import (
)
func main() {
- url := "http://localhost:16713"
+ url := os.Getenv("OPENCODE_SERVER")
httpClient, err := client.NewClientWithResponses(url)
if err != nil {
slog.Error("Failed to create client", "error", err)