prose / gatekeeper

Enables client-side applications to dance OAuth with GitHub.
MIT License
761 stars 183 forks source link

Which port? Heorku #15

Closed tejasmanohar closed 10 years ago

tejasmanohar commented 10 years ago

By default, which port will this app be deployed to on Heroku? Assuming the config.json isn't changed, does heroku do something to change this from 9999?

zzolo commented 10 years ago

Heroku sets the environment variable PORT which is used by Gatekeeper and overrides any value in config.json. I believe you can set this on your Heroku app, but not sure. https://github.com/prose/gatekeeper/blob/master/server.js#L71