Add mod voting feature

This commit is contained in:
Andrew Miner
2016-06-01 12:49:29 -06:00
parent cb962f6175
commit d0a2292094
17 changed files with 590 additions and 61 deletions
+3 -3
View File
@@ -37,11 +37,11 @@ switch global.hostName
when 'prerender.crafting-guide.com'
global.env = 'prerender'
logger.level = Logger.FATAL
apiBaseUrl = 'http://local.crafting-guide.com:4347'
apiBaseUrl = 'http://prerender.crafting-guide.com:4347'
when 'local.crafting-guide.com', 'localhost'
global.env = 'local'
logger.level = Logger.DEBUG
apiBaseUrl = 'http://local.crafting-guide.com:4347'
apiBaseUrl = "http://#{global.hostName}:4347"
when 'staging.crafting-guide.com'
global.env = 'staging'
logger.level = Logger.VERBOSE
@@ -70,7 +70,7 @@ client.onStatusChanged = (client, oldStatus, newStatus)->
client.trigger 'change:status', client, oldStatus, newStatus
client.trigger 'change', client
client.checkStatus()
client.startMonitoringStatus()
########################################################################################################################