Skip to content

Commit

Permalink
change to MONGODB_URI
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisckchang committed Jun 10, 2016
1 parent 678d917 commit 96fc84d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96fc84d

Please sign in to comment.