diff --git a/jslib b/jslib index 50666a761d..953970498e 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 50666a761dba3d2d7d880f1faf488fd9d719ea50 +Subproject commit 953970498e2da454b0ee6574db2e9a4c53188c13 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 1cfad1f56f..d73b3c6dde 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -130,8 +130,10 @@ export function initFactory(): Function { const isDev = platformUtilsService.isDev(); if (!isDev && platformUtilsService.isSelfHost()) { environmentService.baseUrl = window.location.origin; + } else { + environmentService.notificationsUrl = isDev ? 'http://localhost:61840' : + 'https://notifications.bitwarden.com'; } - environmentService.notificationsUrl = isDev ? 'http://localhost:61840' : null; await apiService.setUrls({ base: isDev ? null : window.location.origin, api: isDev ? 'http://localhost:4000' : null,