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:
@@ -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}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user