Skip to content

Commit

Permalink
Edit ssl connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Mu7ammadAbed committed Nov 8, 2021
1 parent 800905e commit 0d068f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/database/config/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ switch (NODE_ENV) {

const options = {
connectionString: dbUrl,
ssl: false,
ssl: {
rejectUnauthorized: false,
},
};
module.exports = new Pool(options);

0 comments on commit 0d068f0

Please sign in to comment.