Skip to content

Commit 44dccba

Browse files
amygdaloideumAwk34
authored andcommitted
fix(heroku): Changed port variable to capital letters so heroku recognize it
Heroku uses process.env.PORT with capital letters. closes #2185
1 parent 118ddc4 commit 44dccba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/app/server/config/environment/production.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111

1212
// Server port
1313
port: process.env.OPENSHIFT_NODEJS_PORT
14-
|| process.env.port
14+
|| process.env.PORT
1515
|| <%= prodPort %><% if(filters.mongoose) { %>,
1616

1717
// MongoDB connection options

0 commit comments

Comments
 (0)