fix port issue
This commit is contained in:
parent
37c34fd39c
commit
1e063e7937
3 changed files with 6 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue