npm dist plugins

This commit is contained in:
Jan Prochazka
2021-04-17 09:21:22 +02:00
parent bf202719eb
commit 89a3798d56
3 changed files with 10 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ function packagedPluginsDir() {
}
if (process.argv[2] == 'startNodeWeb') {
// node_modules
return path.resolve(__dirname, '../../..');
return global['dbgateApiPackagedPluginsPath'];
}
return path.resolve(__dirname, '../../plugins');
}