Skip to content

Commit

Permalink
Add default port for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Aug 18, 2010
1 parent f5f9f1f commit 1787c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -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"));
Expand Down

0 comments on commit 1787c0f

Please sign in to comment.