You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lib/src/service/Config.ts

18 lines
459 B

import {Singleton} from "@extollo/di";
import {CanonicalRecursive} from "./CanonicalRecursive";
@Singleton()
export class Config extends CanonicalRecursive {
protected appPath: string[] = ['configs']
protected suffix: string = '.config.js'
protected canonicalItem: string = 'config'
public async up() {
await super.up()
if ( this.get('server.debug', false) ) {
Error.stackTraceLimit = Infinity
}
}
}