From 8e92fd63bd6dde4a95b73a6368142a1cde900d3d Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 20 May 2026 17:56:38 +0200 Subject: [PATCH] fix? - maybe --- server/plugins.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/plugins.js b/server/plugins.js index ea5b297..b776fbb 100644 --- a/server/plugins.js +++ b/server/plugins.js @@ -23,7 +23,12 @@ function parsePluginConfig(filePath) { if (pluginConfig.frontEndPath) { const sourcePath = path.join(path.dirname(filePath), pluginConfig.frontEndPath); - const destinationDir = path.join(__dirname, '../web/js/plugins', path.dirname(pluginConfig.frontEndPath)); + + const destinationDir = path.join( + __dirname, + '../web/js/plugins', + path.relative(pluginsDir, path.dirname(sourcePath)) + ); // Check if the source path exists if (!fs.existsSync(sourcePath)) {