add back proper isDev check

This commit is contained in:
Kyle Spearrin 2018-10-08 14:26:10 -04:00
parent 4aa75e9376
commit 8d98e9e6f9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {