Skip to content

Commit

Permalink
Merge pull request hubotio#40 from jnewland/twilio-port
Browse files Browse the repository at this point in the history
use PORT env var for Twilio SMS callback URL server
  • Loading branch information
atmos committed Oct 26, 2011
2 parents 8a0351c + 48a267f commit 33b313d
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 33b313d

Please sign in to comment.