1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00
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

Submodule jslib updated: 50666a761d...953970498e

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,