Skip to content

Commit b423963

Browse files
committed
made a change
1 parent 1d54788 commit b423963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var ejsLint = require('ejs-lint');
1919

2020

2121
// Connect mongoose
22-
mongoose.connect("mongodb://localhost:27017/yelp_camp", {useNewUrlParser: true, useUnifiedTopology: true});
22+
mongoose.connect("mongodb+srv://Mehul:[email protected]/test?retryWrites=true&w=majority", {useNewUrlParser: true, useUnifiedTopology: true});
2323

2424
app.use(bodyParser.urlencoded({extended: true}));
2525
app.use(express.static(__dirname+"/public"));

0 commit comments

Comments
 (0)