Skip to content
Browse files

Changed port to 8080 or env to make it work on dotcloud

  • Loading branch information...
1 parent b695391 commit 62512e922aea2082b6b8997d49b12349cf19310f @azram19 committed May 23, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 dev/game.coffee
  2. +1 −1 dotcloud.yml
View
2 dev/game.coffee
@@ -40,7 +40,7 @@ app.get '/lobby', ( req, res ) ->
users: usersArray
numberOfUsers: usersArray.length
-port = 8080
+port = process.env['PORT_WWW'] || 8080
app.listen port, ->
console.log "Listening on " + port
View
2 dotcloud.yml
@@ -1,4 +1,4 @@
-www:
+nodejs:
buildscript: nodejs/builder
type: custom
ports:

0 comments on commit 62512e9

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