From cd6dab00cba1b906a70a9876e83ec33f7c04dc47 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Fri, 9 Feb 2024 13:34:24 +0530 Subject: [PATCH] fixed the developerhub url for NA region --- src/util/inquirer.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/inquirer.ts b/src/util/inquirer.ts index 9f6feac..c55142e 100644 --- a/src/util/inquirer.ts +++ b/src/util/inquirer.ts @@ -168,6 +168,10 @@ async function getDeveloperHubUrl(): Promise { developerHubBaseUrl = developerHubBaseUrl.startsWith("dev11") ? developerHubBaseUrl.replace("dev11", "dev") : developerHubBaseUrl; + developerHubBaseUrl = developerHubBaseUrl.endsWith("io") + ? developerHubBaseUrl.replace("io", "com") + : developerHubBaseUrl; + return developerHubBaseUrl; }