1
0
mirror of https://github.com/bitwarden/web synced 2025-12-11 05:43:16 +00:00

Set WebVaultUrl if dev (#813)

* Set WebVaultUrl if dev

* Add new jslib dependency
This commit is contained in:
Matt Gibson
2021-01-29 12:07:55 -06:00
committed by GitHub
parent 66c814296b
commit 1b8cddede8
2 changed files with 9 additions and 8 deletions

View File

@@ -146,6 +146,7 @@ export function initFactory(): Function {
if (!isDev && platformUtilsService.isSelfHost()) {
environmentService.baseUrl = window.location.origin;
} else {
environmentService.webVaultUrl = isDev ? 'https://localhost:8080' : null;
environmentService.notificationsUrl = isDev ? 'http://localhost:61840' :
'https://notifications.bitwarden.com'; // window.location.origin + '/notifications';
environmentService.enterpriseUrl = isDev ? 'http://localhost:52313' :