mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-31 09:19:16 +02:00
oh lord
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ readJSFiles(pluginsDir).forEach(file => {
|
|||||||
if(dir) filePath = path.join(pluginsDir, file, file);
|
if(dir) filePath = path.join(pluginsDir, file, file);
|
||||||
|
|
||||||
var config = parsePluginConfig(filePath);
|
var config = parsePluginConfig(filePath);
|
||||||
if(dir) config = {...config, prefix: file}
|
if(dir) config = {...config, prefix: `${file}/`}
|
||||||
else config = {...config, prefix: ""}
|
else config = {...config, prefix: ""}
|
||||||
pluginConfigs.push(config);
|
pluginConfigs.push(config);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user