diff --git a/src/db/config/config.js b/src/db/config/config.js index 6ed488b6..b64fe1c7 100644 --- a/src/db/config/config.js +++ b/src/db/config/config.js @@ -7,6 +7,7 @@ module.exports = { url: process.env.DATABASE_URL, dialectOptions: { ssl: { + require: false, rejectUnauthorized: false, }, }, @@ -16,6 +17,7 @@ module.exports = { url: process.env.DATABASE_URL, dialectOptions: { ssl: { + require: true, rejectUnauthorized: false, }, },