Skip to content

Commit

Permalink
use heroku port env var
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewland committed Oct 26, 2011
1 parent 6aba225 commit 48a267f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hubot/twilio.coffee
Expand Up @@ -37,7 +37,7 @@ class Twilio extends Robot
response.writeHead 200, 'Content-Type': 'text/plain'
response.end()

server.listen (parseInt(process.env.HUBOT_SMS_PORT) || 8080), "0.0.0.0"
server.listen (parseInt(process.env.PORT) || 8080), "0.0.0.0"

handle: (body, from) ->
return if body.length == 0
Expand Down

0 comments on commit 48a267f

Please sign in to comment.