visionmedia/express — pull request #1127 by benatkin (2012-05-07 18:58:47+00:00)
Title: get port from env in template (fix for #1118)

I made a change to the app template as suggested in #1118, that gets the port from an environment variable, if it's present. This is used by multiple deployment environments, including Heroku. The updated app template uses an application setting, `port`, so it can be used elsewhere as well.