Skip to content

Commit

Permalink
chore: update port
Browse files Browse the repository at this point in the history
  • Loading branch information
sebinbenjamin authored Aug 16, 2024
1 parent a2bbba7 commit 26ab79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ app.get("/population/:continent", (req, res) => {
To receive the requests, your app should listen to that port using process.env.PORT.
*/
const PORT = process.env.NODE_APP_PORT || 4000;
const PORT = process.env.PORT || 4000;

app.listen(PORT, () => {
console.log(`Server is live at http://localhost:${PORT}`);
Expand Down

0 comments on commit 26ab79a

Please sign in to comment.