diff options
author | Diego Magdaleno <diegomagdaleno@protonmail.com> | 2021-05-21 18:20:59 -0500 |
---|---|---|
committer | Diego Magdaleno <diegomagdaleno@protonmail.com> | 2021-05-21 18:20:59 -0500 |
commit | d67b5903970c73025af594ec7bd6f2b5bebe526b (patch) | |
tree | 9036d8285e3fe70f8e995d6751333f3809543d0d /src | |
parent | Config: Refactor config method, so we have a new get all option, fix issues i... (diff) | |
download | server-d67b5903970c73025af594ec7bd6f2b5bebe526b.tar.xz |
Config: Dont suffix with nodejs
Diffstat (limited to 'src')
-rw-r--r-- | src/util/Config.ts | 2 |
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'); |