mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
f53c537a9d
Implementing search disable
18 lines
526 B
TypeScript
18 lines
526 B
TypeScript
///<reference path="../../typings/main.d.ts"/>
|
|
|
|
import {ConfigLoader} from "./../../backend/config/ConfigLoader";
|
|
import * as path from "path";
|
|
import {ConfigClass, DatabaseType} from "../../common/config/Config";
|
|
|
|
export var Config = new ConfigClass();
|
|
|
|
Config.Server = {
|
|
port: 80,
|
|
thumbnailSizes: [200],
|
|
imagesFolder: "/demo/images",
|
|
thumbnailFolder: "/demo/TEMP",
|
|
databaseType: DatabaseType.mongoDB
|
|
};
|
|
|
|
ConfigLoader.init(Config, path.join(__dirname, './../../config.json'), [["PORT", "Server-port"]]);
|
|
|