Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add default port for heroku

  • Loading branch information...
commit 1787c0f056613b2b1caea6971a4959dad5ef6c4f 1 parent f5f9f1f
@ry ry authored
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"));
Please sign in to comment.
Something went wrong with that request. Please try again.