mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-14 11:23:17 +02:00
f53c537a9d
Implementing search disable
12 lines
367 B
TypeScript
12 lines
367 B
TypeScript
import {ConfigClass} from "../../../common/config/Config";
|
|
import {Utils} from "../../../common/Utils";
|
|
|
|
declare module ServerInject {
|
|
export var ConfigInject;
|
|
}
|
|
|
|
export var Config = new ConfigClass();
|
|
|
|
if (typeof ServerInject !== "undefined" && typeof ServerInject.ConfigInject !== "undefined") {
|
|
Utils.updateKeys(Config.Client, ServerInject.ConfigInject);
|
|
} |