Skip to content

Commit

Permalink
fix(app): use 0.0.0.0 for default IP
Browse files Browse the repository at this point in the history
closes #1071
  • Loading branch information
kingcody committed Jul 18, 2015
1 parent 1d2022c commit 2cd1c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/server/config/environment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var all = {
port: process.env.PORT || 9000,

// Server IP
ip: process.env.IP || 'localhost',
ip: process.env.IP || '0.0.0.0',

// Should we populate the DB with sample data?
seedDB: false,
Expand Down Expand Up @@ -67,4 +67,4 @@ var all = {
// ==============================================
module.exports = _.merge(
all,
require('./' + process.env.NODE_ENV + '.js') || {});
require('./' + process.env.NODE_ENV + '.js') || {});

0 comments on commit 2cd1c24

Please sign in to comment.