Skip to content
Browse files

listening on port

  • Loading branch information...
1 parent 252cd77 commit 913150bdbe08fcfa25e05770dbb38296fe8149eb @seanhess committed May 21, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 app.js
View
5 app.js
@@ -28,8 +28,9 @@ if (cluster.isMaster) {
}
}
else {
- app.listen(3333)
- console.log("Listening on 3333")
+ var PORT = process.env.PORT || 3333
+ app.listen(PORT)
+ console.log("Listening on " + PORT)
}

0 comments on commit 913150b

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