fix port issue

This commit is contained in:
Dax Raad
2025-06-03 16:35:37 -04:00
parent 37c34fd39c
commit 1e063e7937
3 changed files with 6 additions and 3 deletions

View File

@@ -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)