Skip to content

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

fix cloud UI links

Dane Schneider8e737c0a47c0
diff --git a/app/cli/ui/ui.go b/app/cli/ui/ui.go
index 6e9260f1..8928c044 100644
--- a/app/cli/ui/ui.go
+++ b/app/cli/ui/ui.go
@@ -22,7 +22,7 @@ func OpenAuthenticatedURL(msg, path string) {
}
apiHost := api.GetApiHost()
- appHost := strings.Replace(apiHost, "api.", "app.", 1)
+ appHost := strings.Replace(apiHost, "api-v2.", "app.", 1)
token := shared.UiSignInToken{
Pin: signInCode,
@@ -43,7 +43,7 @@ func OpenAuthenticatedURL(msg, path string) {
func OpenUnauthenticatedCloudURL(msg, path string) {
apiHost := api.GetApiHost()
- appHost := strings.Replace(apiHost, "api.", "app.", 1)
+ appHost := strings.Replace(apiHost, "api-v2.", "app.", 1)
url := fmt.Sprintf("%s%s", appHost, path)