diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index c7455bd119..b0142550d8 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -127,7 +127,7 @@ containerService.attachToWindow(window); export function initFactory(): Function { return async () => { await (storageService as HtmlStorageService).init(); - const isDev = true; + const isDev = platformUtilsService.isDev(); if (!isDev && platformUtilsService.isSelfHost()) { environmentService.baseUrl = window.location.origin; } else {