Browse Source

fix: avoid duplicate log on docker

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/5134/head
mertmit 2 years ago
parent
commit
bbd9a7522c
  1. 7
      packages/nocodb/docker/index.js

7
packages/nocodb/docker/index.js

@ -10,10 +10,7 @@ server.set('view engine', 'ejs');
(async () => {
const httpServer = server.listen(process.env.PORT || 8080, () => {
console.log(`App started successfully.\nVisit -> ${Noco.dashboardUrl}`);
const httpServer = server.listen(process.env.PORT || 8080, async () => {
server.use(await Noco.init({}, httpServer, server));
})
server.use(await Noco.init({}, httpServer, server));
})().catch(e => console.log(e))

Loading…
Cancel
Save