diff --git a/src/db.js b/src/db.js index 1e5d976..7b5ada3 100644 --- a/src/db.js +++ b/src/db.js @@ -1,8 +1,8 @@ -console.log('connecting using', `${process.env.DATABASE_URL}?sslmode=require`); +console.log('connecting using', `${process.env.DATABASE_URL}?ssl=true`); const db = require('knex')({ client: 'pg', - connection: `${process.env.DATABASE_URL}?sslmode=require` + connection: `${process.env.DATABASE_URL}?ssl=true` }); module.exports = db;