mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
fixed bug that caused the ENABLE env to not be read if set as a Connection String in Azure
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user