From 1747f4d9e7bdaf5418011ecff5d36240a85d6e6e Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Mon, 24 Jan 2022 07:28:51 -0500 Subject: [PATCH] [bug] Set all urls when setting urls from storage (#628) --- common/src/services/environment.service.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/src/services/environment.service.ts b/common/src/services/environment.service.ts index cf59d38959..f1842fe980 100644 --- a/common/src/services/environment.service.ts +++ b/common/src/services/environment.service.ts @@ -116,11 +116,7 @@ export class EnvironmentService implements EnvironmentServiceAbstraction { const urls: any = await this.stateService.getEnvironmentUrls(); const envUrls = new EnvironmentUrls(); - if (urls.base) { - this.baseUrl = envUrls.base = urls.base; - return; - } - + this.baseUrl = envUrls.base = urls.base; this.webVaultUrl = urls.webVault; this.apiUrl = envUrls.api = urls.api; this.identityUrl = envUrls.identity = urls.identity;