Skip to content

Commit

Permalink
fix(cli): correct configurator url cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Jul 30, 2024
1 parent 69c551d commit 2cb9f1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/config/configurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func (c Configurator) createConfig(serverURL string) (Config, error) {

if strings.Contains(serverURL, DefaultCloudDomain) {
endpoint = strings.TrimPrefix(endpoint, "app")
endpoint = strings.TrimPrefix(endpoint, "api")
endpoint = "api" + endpoint
}

Expand Down

0 comments on commit 2cb9f1e

Please sign in to comment.