From 26ab79a1fa575a354540aa44f7a66d66e045b17a Mon Sep 17 00:00:00 2001 From: Sebin Benjamin Date: Fri, 16 Aug 2024 20:35:03 +1200 Subject: [PATCH] chore: update port --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index f26d090..5ef6c11 100644 --- a/server.js +++ b/server.js @@ -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}`);