Skip to content

Commit 140e241

Browse files
committed
Merge pull request #235 from zfarrell/fixIpConfig
fix(config): fix issue where `config.ip` is undefined in non-production environments
2 parents 44a107f + 087f5bc commit 140e241

File tree

1 file changed

+1
-0
lines changed
  • templates/express/config/env

1 file changed

+1
-0
lines changed

templates/express/config/env/all.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ var rootPath = path.normalize(__dirname + '/../../..');
66

77
module.exports = {
88
root: rootPath,
9+
ip: '0.0.0.0',
910
port: process.env.PORT || 9000<% if (mongo) { %>,
1011
mongo: {
1112
options: {

0 commit comments

Comments
 (0)