Skip to content

Commit

Permalink
turn off some db crap
Browse files Browse the repository at this point in the history
  • Loading branch information
calmacx committed Feb 16, 2024
1 parent 9440190 commit 76d7aaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ const initApplication = async () => {
res.status(404).end('404 - not found');
});

//await Database.init();
if (Locals.config().MONGO_DATABASE != '') {
await Database.init();
}

app.listen(port, () => {
process.stdout.write(`Service running @ 'http://localhost:${port}'\n`);
Expand Down

0 comments on commit 76d7aaa

Please sign in to comment.