Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-science authored Jun 3, 2021
1 parent f0084ba commit 564f36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ app.use(
);

//connection à mongoDB
mongoose.connect('mongodb+srv://ichat:LjfNhCj0YwwryZiF@cluster0.uzln9.mongodb.net/<dbname>?retryWrites=true&w=majority', {
mongoose.connect('<mongoDB>', {
useCreateIndex: true,
useNewUrlParser: true,
useUnifiedTopology: true
Expand Down Expand Up @@ -335,4 +335,4 @@ app.post('/app/newfriend', authController.withAuth, (req, res, next) => {
})
})

module.exports = app;
module.exports = app;

1 comment on commit 564f36b

@vercel
Copy link

@vercel vercel bot commented on 564f36b Jun 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.