@@ -151,6 +151,8 @@ if (process.env.NODE_ENV === "production") {
|
|||||||
} else {
|
} else {
|
||||||
app.listen(port, (error) => {
|
app.listen(port, (error) => {
|
||||||
if (error) throw error;
|
if (error) throw error;
|
||||||
console.log("[DEVELOPMENT] Non Secured Server running on port " + port);
|
console.log(
|
||||||
|
`[${process.env.NODE_ENV}] Non Secured Server running on port ` + port
|
||||||
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user