summary refs log tree commit diff
diff options
context:
space:
mode:
authorDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-21 18:20:59 -0500
committerDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-21 18:20:59 -0500
commitd67b5903970c73025af594ec7bd6f2b5bebe526b (patch)
tree9036d8285e3fe70f8e995d6751333f3809543d0d
parentConfig: Refactor config method, so we have a new get all option, fix issues i... (diff)
downloadserver-d67b5903970c73025af594ec7bd6f2b5bebe526b.tar.xz
Config: Dont suffix with nodejs
-rw-r--r--src/util/Config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Config.ts b/src/util/Config.ts

index ee7a2f96..9b2b9600 100644 --- a/src/util/Config.ts +++ b/src/util/Config.ts
@@ -382,7 +382,7 @@ class Config<T extends Record<string, any> = Record<string, unknown>> implements this.#validator = ajv.compile(schema); - const base = envPaths('fosscord').config; + const base = envPaths('fosscord', {suffix: ""}).config; this.path = path.resolve(base, 'api.json');