Fixed autoJoin Env variables
This commit is contained in:
parent
e216b99f8d
commit
aa325dad50
|
@ -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 + '"'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue