Skip to content

Commit

Permalink
fix(heroku): Changed port variable to capital letters so heroku recog…
Browse files Browse the repository at this point in the history
…nize it

Heroku uses process.env.PORT with capital letters.

closes #2185
  • Loading branch information
amygdaloideum authored and Awk34 committed Sep 13, 2016
1 parent 118ddc4 commit 44dccba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/app/server/config/environment/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {

// Server port
port: process.env.OPENSHIFT_NODEJS_PORT
|| process.env.port
|| process.env.PORT
|| <%= prodPort %><% if(filters.mongoose) { %>,

// MongoDB connection options
Expand Down

0 comments on commit 44dccba

Please sign in to comment.