fixed dbgate npm edition

This commit is contained in:
Jan Prochazka
2021-04-01 13:52:28 +02:00
parent 9cb2d397ad
commit 71f7a705c4
2 changed files with 7 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ function start(argument = null) {
});
});
} else if (argument == 'startNodeWeb') {
app.use(express.static(path.join(__dirname, '../../dbgate-web/build')));
app.use(express.static(path.join(__dirname, '../../dbgate-web/public')));
findFreePort(5000, function (err, port) {
server.listen(port, () => {
console.log(`DbGate API listening on port ${port}`);