Skip to content

Commit

Permalink
Fix heroku issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hvpulok committed Jul 9, 2018
1 parent 69dc47e commit 19fe288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/env/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
port: process.env.PORT || 8080,
securePort: process.env.SPORT || 8443,
// Binding to 127.0.0.1 is safer in production.
host: process.env.HOST || '127.0.0.1',
host: process.env.HOST || '0.0.0.0',
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGODB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean',
options: {
Expand Down

0 comments on commit 19fe288

Please sign in to comment.