Skip to content

Commit 9af319e

Browse files
committed
adding support for a default configuration paremeter for all environments to specify IP address, just like there's a port configuration by default (production.js env configuration file already references this config parameter)
1 parent dbede9a commit 9af319e

File tree

1 file changed

+3
-0
lines changed
  • app/templates/server/config/environment

1 file changed

+3
-0
lines changed

app/templates/server/config/environment/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ var all = {
2121
// Server port
2222
port: process.env.PORT || 9000,
2323

24+
// Server IP
25+
ip: process.env.IP || 'localhost',
26+
2427
// Should we populate the DB with sample data?
2528
seedDB: false,
2629

0 commit comments

Comments
 (0)