Skip to content

Commit

Permalink
Merge branch 'develop' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
rassokhin-s committed Oct 18, 2023
2 parents ea3ca55 + df4d6bb commit 529b141
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/mongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const mongoose = require('mongoose')

const mongoUri = `mongodb+srv://${process.env.MONGO_USERNAME}:${process.env.MONGO_PASSWORD}@${process.env.MONGO_HOSTNAME}/${process.env.MONGO_DB}?retryWrites=true&w=majority`

console.info('\n\n', mongoUri, '\n\n')

const db = mongoose.connection
db.on('connecting', function () {
console.info('Connecting to MongoDB')
Expand Down

0 comments on commit 529b141

Please sign in to comment.