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