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