*Rename pluginFolder to pluginDir

This commit is contained in:
Derrick Hammer 2022-09-20 06:35:32 -04:00
parent 5c8c4cc1dd
commit 5362d83af6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ config.inject({
port: 8080,
config: configLocation,
logLevel: "info",
pluginFolder: path.join(configDir, "plugins"),
pluginDir: path.join(configDir, "plugins"),
plugins: ["core"],
ssl: true,
});

View File

@ -39,7 +39,7 @@ export class PluginApiManager {
const paths = [];
for (const modulePath of [`${moduleName}.js`, `${moduleName}.mjs`]) {
const fullPath = path.join(config.get("plugin-folder"), modulePath);
const fullPath = path.join(config.get("plugin-dir"), modulePath);
if (fs.existsSync(fullPath)) {
paths.push(fullPath);
break;