Skip to content
Browse files

Add default port for heroku

  • Loading branch information...
1 parent f5f9f1f commit 1787c0f056613b2b1caea6971a4959dad5ef6c4f @ry ry committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
View
2 server.js
@@ -120,7 +120,7 @@ setInterval(function () {
}
}, 1000);
-fu.listen(PORT, HOST);
+fu.listen(Number(process.env.PORT || PORT), HOST);
fu.get("/", fu.staticHandler("index.html"));
fu.get("/style.css", fu.staticHandler("style.css"));

0 comments on commit 1787c0f

Please sign in to comment.
Something went wrong with that request. Please try again.