diff options
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,4 +34,4 @@ app.use("/quotes", checkUser, quotes); app.use("/poll", checkUser, poll); app.use("/auth", auth); -app.listen(5005, () => console.log("Server started on http://localhost:5005")); +app.listen(process.env.PORT || 5005, () => console.log("Server started on http://localhost:5005")); |