From 9af319ef8e099ce478c2dcfcebd28fd0de0b57ac Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Sun, 12 Apr 2015 14:46:53 +0300 Subject: [PATCH] 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) --- app/templates/server/config/environment/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/templates/server/config/environment/index.js b/app/templates/server/config/environment/index.js index 11d85f4de..895d91534 100644 --- a/app/templates/server/config/environment/index.js +++ b/app/templates/server/config/environment/index.js @@ -21,6 +21,9 @@ var all = { // Server port port: process.env.PORT || 9000, + // Server IP + ip: process.env.IP || 'localhost', + // Should we populate the DB with sample data? seedDB: false,