Skip to content

Commit

Permalink
fixed the developerhub url for NA region
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-raj committed Feb 9, 2024
1 parent e30dd86 commit cd6dab0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util/inquirer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ async function getDeveloperHubUrl(): Promise<string> {
developerHubBaseUrl = developerHubBaseUrl.startsWith("dev11")
? developerHubBaseUrl.replace("dev11", "dev")
: developerHubBaseUrl;
developerHubBaseUrl = developerHubBaseUrl.endsWith("io")
? developerHubBaseUrl.replace("io", "com")
: developerHubBaseUrl;

return developerHubBaseUrl;
}

Expand Down

0 comments on commit cd6dab0

Please sign in to comment.