From a7687f6deae9ddbc092e6efc4012b07fc1503c09 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 8 Mar 2018 22:06:12 +0000 Subject: [PATCH] !wip possible read a .json file to get the value? --- src/Ombi/ClientApp/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Ombi/ClientApp/main.ts b/src/Ombi/ClientApp/main.ts index 69914b644..cf56ceb3a 100644 --- a/src/Ombi/ClientApp/main.ts +++ b/src/Ombi/ClientApp/main.ts @@ -18,6 +18,12 @@ import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; import { AppModule } from "./app/app.module"; declare var module: any; +declare var __webpack_public_path__: any; +__webpack_public_path__ = "Test/"; + +if(__webpack_public_path__) { + // +} if (module.hot) { module.hot.accept();