Skip to content

Commit 96fc84d

Browse files
committed
change to MONGODB_URI
1 parent 678d917 commit 96fc84d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ var mongoose = require ("mongoose"); // The reason for this demo.
4040
// Here we find an appropriate database to connect to, defaulting to
4141
// localhost if we don't find one.
4242
var uristring =
43-
process.env.MONGOLAB_URI ||
44-
process.env.MONGOHQ_URL ||
43+
process.env.MONGODB_URI ||
4544
'mongodb://localhost/HelloMongoose';
4645

4746
// The http server will listen to an appropriate port, or default to

0 commit comments

Comments
 (0)