Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

fix for staging URLs

Dane Schneider6a00c94f47bd
diff --git a/app/cli/ui/ui.go b/app/cli/ui/ui.go
index 52e3b3ec..04aec1e2 100644
--- a/app/cli/ui/ui.go
+++ b/app/cli/ui/ui.go
@@ -42,8 +42,9 @@ func OpenAuthenticatedURL(msg, path string) {
}
func OpenUnauthenticatedCloudURL(msg, path string) {
- apiHost := api.CloudApiHost
+ apiHost := api.GetApiHost()
appHost := strings.Replace(apiHost, "api.", "app.", 1)
+
url := fmt.Sprintf("%s%s", appHost, path)
OpenURL(msg, url)