From 3e61464dac9c6b362d23d5815dee978d43a54c3b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 21 Aug 2018 13:58:45 -0400 Subject: [PATCH] explicitly use https://notifications.bitwarden.com --- jslib | 2 +- src/app/services/services.module.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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,