mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 02:23:44 +00:00
get web vault url
This commit is contained in:
@@ -13,7 +13,15 @@ export class EnvironmentService implements EnvironmentServiceAbstraction {
|
||||
identityUrl: string;
|
||||
iconsUrl: string;
|
||||
|
||||
constructor(private apiService: ApiService, private storageService: StorageService) {
|
||||
constructor(private apiService: ApiService, private storageService: StorageService) {}
|
||||
|
||||
getWebVaultUrl(): string {
|
||||
if (this.webVaultUrl != null) {
|
||||
return this.webVaultUrl;
|
||||
} else if (this.baseUrl) {
|
||||
return this.baseUrl;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
async setUrlsFromStorage(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user