From aa325dad5049e911a0892e4b0c815abb325e883f Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 20 Jul 2018 23:10:13 +1000 Subject: [PATCH] Fixed autoJoin Env variables --- config/prod.env.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 + '"' }