From 96fc84dcbe7c0287ff2a48e4c47afa8c3db0835c Mon Sep 17 00:00:00 2001 From: Chris Chang Date: Fri, 10 Jun 2016 11:48:41 -0700 Subject: [PATCH] change to MONGODB_URI --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index 4aa20e9..d9771ae 100644 --- a/app.js +++ b/app.js @@ -40,8 +40,7 @@ var mongoose = require ("mongoose"); // The reason for this demo. // Here we find an appropriate database to connect to, defaulting to // localhost if we don't find one. var uristring = - process.env.MONGOLAB_URI || - process.env.MONGOHQ_URL || + process.env.MONGODB_URI || 'mongodb://localhost/HelloMongoose'; // The http server will listen to an appropriate port, or default to