dbashford/MimosaZappaSkeleton — pull request #2 by neverfox (2014-04-12 04:38:30+00:00)
Title: Pass port as option to main zappajs run function

It turns out there was one more problem lurking in the default server. If the port isn't configured as an option on the main run function, then zappajs is really just using it's own default of 3000 and ignoring the variables. I discovered this when I tried to deploy a zappajs server to Heroku and it wasn't binding to `process.env.PORT`.