[bug] Set all urls when setting urls from storage (#628)
This commit is contained in:
parent
074f1ee7b7
commit
1747f4d9e7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue