Permalink
Browse files

updating port

  • Loading branch information...
Glenn Block
Glenn Block committed May 20, 2012
1 parent 81629b4 commit 21838109d4d76f48550fa44d1eeeaf5f416b1de2
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/chat/server.js
View
@@ -42,7 +42,7 @@ app.get('/chat', function (req, res) {
* App listen.
*/
-app.listen(3000, function () {
+app.listen(process.env.PORT || 3000, function () {
var addr = app.address();
console.log(' app listening on http://' + addr.address + ':' + addr.port);
});

0 comments on commit 2183810

Please sign in to comment.