0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

Moved server start log to app.listen callback

This commit is contained in:
blitzher
2021-08-29 00:49:13 +02:00
parent 0d9981b3c6
commit 2b89efc923

View File

@@ -280,5 +280,6 @@ app.use((err, req, res, next)=>{
//^=====--------------------------------------=====^//
const PORT = process.env.PORT || config.get('web_port') || 8000;
app.listen(PORT);
console.log(`server on port:${PORT}`);
app.listen(PORT, () => {
console.log(`server on port:${PORT}`);
});