mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
adding the self host check back in (#997)
This commit is contained in:
parent
da0df3a73b
commit
9b7a1c7760
@ -145,7 +145,7 @@ export function initFactory(): Function {
|
||||
return async () => {
|
||||
await (storageService as HtmlStorageService).init();
|
||||
|
||||
if (process.env.ENV !== 'production') {
|
||||
if (process.env.ENV !== 'production' || platformUtilsService.isSelfHost()) {
|
||||
environmentService.baseUrl = window.location.origin;
|
||||
} else {
|
||||
environmentService.notificationsUrl = 'https://notifications.bitwarden.com';
|
||||
|
Loading…
Reference in New Issue
Block a user