This commit is contained in:
Kyle Spearrin 2018-08-21 13:58:45 -04:00
parent 85ca10dbb3
commit 3e61464dac
2 changed files with 4 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 50666a761dba3d2d7d880f1faf488fd9d719ea50
Subproject commit 953970498e2da454b0ee6574db2e9a4c53188c13

View File

@ -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,