1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.webVaultUrl = urls.webVault;
this.apiUrl = envUrls.api = urls.api;
this.identityUrl = envUrls.identity = urls.identity;