Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Oshanath committed Mar 21, 2021
1 parent a53400c commit cc3ba94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let mongoose = require('mongoose');
mongoose.Promise = global.Promise;
let local = "mongodb://localhost/StudentRequestSystemDatabase";
let atlas = 'mongodb+srv://akash:1234@nodetuts.wxb9o.mongodb.net/StudentRequestSystem?retryWrites=true&w=majority';
mongoose.connect(atlas , {useNewUrlParser: true, useUnifiedTopology: true})
mongoose.connect(local , {useNewUrlParser: true, useUnifiedTopology: true})
.then((result) => {
app.listen(process.env.PORT || 3000);
console.log('You are listening to port 3000');
Expand Down

0 comments on commit cc3ba94

Please sign in to comment.