Skip to content

Commit

Permalink
edit dburl
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanavi2 committed Nov 17, 2020
1 parent 7bbb530 commit 833b7f1
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 @@ -19,8 +19,7 @@ const indexRoutes = require("./routes/index");
const customerRoutes = require("./routes/customer");
const cartRoutes = require("./routes/cart"); */


//mongodb+srv://bizbuzbiz:ivantehteh1@cluster0.gumfa.mongodb.net/hf-delivery?retryWrites=true&w=majority
//"mongodb://localhost/appdev_test"
var dburl = "mongodb://localhost/appdev_test" || process.env.DATABASEURL;
//Mongodb config
mongoose.connect(dburl,
Expand Down

0 comments on commit 833b7f1

Please sign in to comment.