diff --git a/config/env/development.js b/config/env/development.js index 3d18c9f3a4..99df90cd65 100644 --- a/config/env/development.js +++ b/config/env/development.js @@ -1,5 +1,7 @@ 'use strict'; +var defaultEnvConfig = require('./default'); + module.exports = { db: { uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-dev', @@ -20,7 +22,7 @@ module.exports = { } }, app: { - title: 'MEAN.JS - Development Environment' + title: defaultEnvConfig.app.title + ' - Development Environment' }, facebook: { clientID: process.env.FACEBOOK_ID || 'APP_ID', diff --git a/config/env/test.js b/config/env/test.js index d6e47d40aa..08fb6a8485 100644 --- a/config/env/test.js +++ b/config/env/test.js @@ -1,5 +1,7 @@ 'use strict'; +var defaultEnvConfig = require('./default'); + module.exports = { db: { uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-test', @@ -12,7 +14,7 @@ module.exports = { }, port: process.env.PORT || 3001, app: { - title: 'MEAN.JS - Test Environment' + title: defaultEnvConfig.app.title + ' - Test Environment' }, facebook: { clientID: process.env.FACEBOOK_ID || 'APP_ID',