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:
parent
05057b922a
commit
d67b590397
@ -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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user