mirror of
https://github.com/bitwarden/web
synced 2025-12-10 05:13:40 +00:00
explicitly use https://notifications.bitwarden.com
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 50666a761d...953970498e
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user