diff --git a/libs/common/src/platform/abstractions/environment.service.ts b/libs/common/src/platform/abstractions/environment.service.ts index bf91628caf..37a3169d2f 100644 --- a/libs/common/src/platform/abstractions/environment.service.ts +++ b/libs/common/src/platform/abstractions/environment.service.ts @@ -65,9 +65,4 @@ export abstract class EnvironmentService { getUrls: () => Urls; isCloud: () => boolean; isEmpty: () => boolean; - /** - * @remarks For desktop and browser use only. - * For web, use PlatformUtilsService.isSelfHost() - */ - isSelfHosted: () => boolean; } diff --git a/libs/common/src/platform/services/environment.service.ts b/libs/common/src/platform/services/environment.service.ts index e77f259c12..cd93b91e25 100644 --- a/libs/common/src/platform/services/environment.service.ts +++ b/libs/common/src/platform/services/environment.service.ts @@ -338,15 +338,4 @@ export class EnvironmentService implements EnvironmentServiceAbstraction { "https://vault.bitwarden.eu/api", ].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()); - } }