1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[bug] Set all urls when setting urls from storage (#628)

This commit is contained in:
Addison Beck
2022-01-24 07:28:51 -05:00
committed by GitHub
parent 074f1ee7b7
commit 1747f4d9e7

View File

@@ -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;