Skip to content

Commit

Permalink
Fix SSL configuration in production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kratospidey committed Feb 21, 2024
1 parent 56ae271 commit d60ba56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ if (env === "production") {
dialectOptions: {
ssl: {
require: true,
rejectUnauthorized: true,
ca: process.env.CA_CERT,
encrypt: true,
rejectUnauthorized: false,
encrpyt: true,
},
},
}
Expand Down

0 comments on commit d60ba56

Please sign in to comment.