1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-13 14:12:41 +01:00

Config: Dont suffix with nodejs

This commit is contained in:
Diego Magdaleno 2021-05-21 18:20:59 -05:00
parent 05057b922a
commit d67b590397

View File

@ -382,7 +382,7 @@ class Config<T extends Record<string, any> = Record<string, unknown>> implements
this.#validator = ajv.compile(schema); this.#validator = ajv.compile(schema);
const base = envPaths('fosscord').config; const base = envPaths('fosscord', {suffix: ""}).config;
this.path = path.resolve(base, 'api.json'); this.path = path.resolve(base, 'api.json');