mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 11:56:00 +00:00
plugins
This commit is contained in:
@@ -48,6 +48,10 @@ function packagedPluginsDir() {
|
||||
if (platformInfo.isDocker) {
|
||||
return path.resolve(__dirname, 'plugins');
|
||||
}
|
||||
if (process.argv[2] == 'startNodeWeb') {
|
||||
// node_modules
|
||||
return path.resolve(__dirname, '../../..');
|
||||
}
|
||||
return path.resolve(__dirname, '../../plugins');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user