1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

15 lines
401 B
TypeScript
Raw Normal View History

2017-06-04 15:25:08 +02:00
import {PublicConfigClass} from "./ConfigClass";
import {WebConfigLoader} from "typeconfig/src/WebConfigLoader";
declare module ServerInject {
export const ConfigInject;
2017-06-04 15:25:08 +02:00
}
export let Config = new PublicConfigClass();
if (typeof ServerInject !== "undefined" && typeof ServerInject.ConfigInject !== "undefined") {
WebConfigLoader.loadFrontendConfig(Config.Client, ServerInject.ConfigInject);
2017-06-04 15:25:08 +02:00
}