Skip to content

Commit

Permalink
ref: server.ts to include port number in console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyton505 committed Nov 9, 2024
1 parent 2b91e9d commit b8125aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ app.use("/workshop", routes.workshop);

connectDB();

app.listen(process.env.PORT || 8000, () => console.log("Server running..."));
app.listen(process.env.PORT || 8000, () =>
console.log(`Server running on port ${process.env.PORT || 8000}`)
);

0 comments on commit b8125aa

Please sign in to comment.