mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
[bug] Set all urls when setting urls from storage (#628)
This commit is contained in:
@@ -116,11 +116,7 @@ export class EnvironmentService implements EnvironmentServiceAbstraction {
|
|||||||
const urls: any = await this.stateService.getEnvironmentUrls();
|
const urls: any = await this.stateService.getEnvironmentUrls();
|
||||||
const envUrls = new EnvironmentUrls();
|
const envUrls = new EnvironmentUrls();
|
||||||
|
|
||||||
if (urls.base) {
|
this.baseUrl = envUrls.base = urls.base;
|
||||||
this.baseUrl = envUrls.base = urls.base;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.webVaultUrl = urls.webVault;
|
this.webVaultUrl = urls.webVault;
|
||||||
this.apiUrl = envUrls.api = urls.api;
|
this.apiUrl = envUrls.api = urls.api;
|
||||||
this.identityUrl = envUrls.identity = urls.identity;
|
this.identityUrl = envUrls.identity = urls.identity;
|
||||||
|
|||||||
Reference in New Issue
Block a user