1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 19:23:52 +00:00

[Enterprise] Added environment checks (#559)

* Update jslib (2b6657a -> 28d21ca)

* Environment variable checks
This commit is contained in:
Vincent Salucci
2020-06-16 09:35:25 -05:00
committed by GitHub
parent 3d160ee1df
commit 4309064804
3 changed files with 14 additions and 2 deletions

View File

@@ -140,6 +140,8 @@ export function initFactory(): Function {
} else {
environmentService.notificationsUrl = isDev ? 'http://localhost:61840' :
'https://notifications.bitwarden.com'; // window.location.origin + '/notifications';
environmentService.enterpriseUrl = isDev ? 'http://localhost:61840' :
'https://enterprise.bitwarden.com'; // window.location.origin + '/enterprise';
}
apiService.setUrls({
base: isDev ? null : window.location.origin,