fixed bug that caused the ENABLE env to not be read if set as a Connection String in Azure

This commit is contained in:
Jason Calabrese
2014-09-09 14:56:11 -07:00
parent ff2dc98a0d
commit 6a345083f4
+1 -1
View File
@@ -30,7 +30,7 @@ function config ( ) {
env.treatments_collection = readENV('MONGO_TREATMENTS_COLLECTION', 'treatments');
env.devicestatus_collection = readENV('MONGO_DEVICESTATUS_COLLECTION', 'devicestatus');
env.enable = process.env.ENABLE || '';
env.enable = readENV('ENABLE');
var shasum = crypto.createHash('sha1');