Skip to content

Commit

Permalink
added port
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorJJF committed Jul 18, 2022
1 parent b4effbe commit ef05af8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ app.get(/.*/, (req, res) => {
});
// }

app.listen(app.get('port'));
app.listen(app.get('port'), () => {
console.log(`Running port ${app.get('port')}`);
});

// Init MongoDB
initMongo();

0 comments on commit ef05af8

Please sign in to comment.