aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorLarsVomMars2020-10-10 11:41:30 +0200
committerLarsVomMars2020-10-10 11:41:30 +0200
commit2d93f2db26b7b8ef99264b158553c880bc205f42 (patch)
treebcae1e9a78962ac85bc036b22bae985ba6d0d936 /app.js
parente6626356d90fcc58db1dbfad35211c0b3a103aa7 (diff)
parent7a4ade2036140203cee39cc7622f835114862515 (diff)
Merge branch 'master' of github.com:marvinborner/abizeugs into profile
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 79002dd..9928e96 100644
--- a/app.js
+++ b/app.js
@@ -36,4 +36,4 @@ app.use("/poll", checkUser, poll);
app.use("/profile", checkUser, profile);
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"));