mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
18 lines
385 B
TypeScript
18 lines
385 B
TypeScript
|
|
import {ConfigLoader} from "./ConfigLoader";
|
|
|
|
export class ConfigClass{
|
|
|
|
constructor(){
|
|
ConfigLoader.init(this,__dirname+'./../../config.json');
|
|
}
|
|
|
|
public port:number = 80;
|
|
|
|
public thumbnailSizes:Array<number> = [200];
|
|
public imagesFolder:string = "/demo/images";
|
|
public thumbnailFolder:string = "/demo/TEMP";
|
|
}
|
|
|
|
|
|
export var Config = new ConfigClass(); |