diff --git a/SettingsHelper.js b/SettingsHelper.js index 34bf793c..47efedaa 100644 --- a/SettingsHelper.js +++ b/SettingsHelper.js @@ -23,9 +23,11 @@ module.exports = function () { let output = {} for (let i = 0; i < fields.length; i++) { let setting = fields[i] + // console.log('Processing setting', setting) + // console.log(args[setting], process.env[setting], defaults[setting]) output[setting] = args[setting] || process.env[setting] || defaults[setting] process.env[setting] = output[setting] } - console.log('Our settings are', output) + // console.log('Our settings are', output) return output } diff --git a/config/prod.env.js b/config/prod.env.js index f54c16b9..4d5b2963 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,6 +1,8 @@ var git = require('git-rev-sync') -console.log('Production env', process.env) +// console.log('Production env', process.env) + +let settingsHelper = new (require('../SettingsHelper'))() module.exports = { NODE_ENV: '"production"',