aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index d127d85..fab16f3 100644
--- a/index.js
+++ b/index.js
@@ -205,5 +205,5 @@ app.get("/logout", (req, res) => {
});
});
-const port = 3000;
+const port = process.env.PORT;
app.listen(port, () => console.log(`Server running on http://localhost:${port}`));