mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
add back proper isDev check
This commit is contained in:
parent
4aa75e9376
commit
8d98e9e6f9
@ -127,7 +127,7 @@ containerService.attachToWindow(window);
|
|||||||
export function initFactory(): Function {
|
export function initFactory(): Function {
|
||||||
return async () => {
|
return async () => {
|
||||||
await (storageService as HtmlStorageService).init();
|
await (storageService as HtmlStorageService).init();
|
||||||
const isDev = true;
|
const isDev = platformUtilsService.isDev();
|
||||||
if (!isDev && platformUtilsService.isSelfHost()) {
|
if (!isDev && platformUtilsService.isSelfHost()) {
|
||||||
environmentService.baseUrl = window.location.origin;
|
environmentService.baseUrl = window.location.origin;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user