mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Remove unused method (#5821)
This commit is contained in:
@@ -65,9 +65,4 @@ export abstract class EnvironmentService {
|
|||||||
getUrls: () => Urls;
|
getUrls: () => Urls;
|
||||||
isCloud: () => boolean;
|
isCloud: () => boolean;
|
||||||
isEmpty: () => boolean;
|
isEmpty: () => boolean;
|
||||||
/**
|
|
||||||
* @remarks For desktop and browser use only.
|
|
||||||
* For web, use PlatformUtilsService.isSelfHost()
|
|
||||||
*/
|
|
||||||
isSelfHosted: () => boolean;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -338,15 +338,4 @@ export class EnvironmentService implements EnvironmentServiceAbstraction {
|
|||||||
"https://vault.bitwarden.eu/api",
|
"https://vault.bitwarden.eu/api",
|
||||||
].includes(this.getApiUrl());
|
].includes(this.getApiUrl());
|
||||||
}
|
}
|
||||||
|
|
||||||
isSelfHosted(): boolean {
|
|
||||||
return ![
|
|
||||||
"http://vault.bitwarden.com",
|
|
||||||
"https://vault.bitwarden.com",
|
|
||||||
"http://vault.bitwarden.eu",
|
|
||||||
"https://vault.bitwarden.eu",
|
|
||||||
"http://vault.qa.bitwarden.pw",
|
|
||||||
"https://vault.qa.bitwarden.pw",
|
|
||||||
].includes(this.getWebVaultUrl());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user