diff --git a/config/prod.env.js b/config/prod.env.js index 4d5b2963..92cf4360 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -2,10 +2,15 @@ var git = require('git-rev-sync') // console.log('Production env', process.env) -let settingsHelper = new (require('../SettingsHelper'))() +let settings = new (require('../SettingsHelper'))() module.exports = { NODE_ENV: '"production"', gitHash: '"' + git.short() + '"', - gitDate: '"' + git.date() + '"' + gitDate: '"' + git.date() + '"', + + autoJoin: '"' + settings.autoJoin + '"', + autoJoinRoom: '"' + settings.autoJoinRoom + '"', + autoJoinPassword: '"' + settings.autoJoinPassword + '"', + autoJoinServer: '"' + settings.autoJoinServer + '"' }