Skip to content

Commit

Permalink
add new MONGODB_URI env to the list we try to connect to mongo, thank…
Browse files Browse the repository at this point in the history
…s mlab :(
  • Loading branch information
jasoncalabrese committed Apr 24, 2016
1 parent 4da9d51 commit efa4540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env.js
Expand Up @@ -87,7 +87,7 @@ function setVersion() {
}

function setMongo() {
env.mongo = readENV('MONGO_CONNECTION') || readENV('MONGO') || readENV('MONGOLAB_URI');
env.mongo = readENV('MONGO_CONNECTION') || readENV('MONGO') || readENV('MONGOLAB_URI') || readENV('MONGODB_URI');
env.mongo_collection = readENV('MONGO_COLLECTION', 'entries');
env.MQTT_MONITOR = readENV('MQTT_MONITOR', null);
if (env.MQTT_MONITOR) {
Expand Down

0 comments on commit efa4540

Please sign in to comment.