diff --git a/lib/PostgresDb.js b/lib/PostgresDb.js index 1f5b772..8e23eaf 100644 --- a/lib/PostgresDb.js +++ b/lib/PostgresDb.js @@ -9,7 +9,9 @@ const pgp = require('pg-promise')({ const PostgresDb = pgp({ connectionString: process.env.DATABASE_URL, - ssl: true + ssl: { + rejectUnauthorized: false + } }); module.exports = PostgresDb;