Skip to content
Browse files

updating port

  • Loading branch information...
1 parent 81629b4 commit 21838109d4d76f48550fa44d1eeeaf5f416b1de2 @glennblock committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/chat/server.js
View
2 apps/chat/server.js
@@ -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.
Something went wrong with that request. Please try again.