mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
explicitly use https://notifications.bitwarden.com
This commit is contained in:
parent
85ca10dbb3
commit
3e61464dac
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 50666a761dba3d2d7d880f1faf488fd9d719ea50
|
Subproject commit 953970498e2da454b0ee6574db2e9a4c53188c13
|
@ -130,8 +130,10 @@ export function initFactory(): Function {
|
|||||||
const isDev = platformUtilsService.isDev();
|
const isDev = platformUtilsService.isDev();
|
||||||
if (!isDev && platformUtilsService.isSelfHost()) {
|
if (!isDev && platformUtilsService.isSelfHost()) {
|
||||||
environmentService.baseUrl = window.location.origin;
|
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({
|
await apiService.setUrls({
|
||||||
base: isDev ? null : window.location.origin,
|
base: isDev ? null : window.location.origin,
|
||||||
api: isDev ? 'http://localhost:4000' : null,
|
api: isDev ? 'http://localhost:4000' : null,
|
||||||
|
Loading…
Reference in New Issue
Block a user