Browse Source

adding the self host check back in (#997)

pull/1002/head
Joseph Flinn 5 years ago committed by GitHub
parent
commit
9b7a1c7760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/services/services.module.ts

2
src/app/services/services.module.ts

@ -145,7 +145,7 @@ export function initFactory(): Function { @@ -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…
Cancel
Save