Skip to content

Commit 821b18c

Browse files
committed
Fix port message when server is running
1 parent 5246eda commit 821b18c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ app.use(errorHandler);
2424

2525
function startServer() {
2626
app.listen(process.env.PORT || 5000, () => {
27-
console.log(`Server is running on port ${process.env.PORT}!`);
27+
28+
console.log(`Server is running on port ${process.env.PORT || 5000}!`);
2829
});
2930
}
3031

0 commit comments

Comments
 (0)