Skip to content

Commit

Permalink
ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
nescalante committed Mar 15, 2021
1 parent 66e6e93 commit cfb1b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const db = require('knex')({
client: 'pg',
connection: process.env.DATABASE_URL
connection: `${process.env.DATABASE_URL}?sslmode=require`
});

module.exports = db;

0 comments on commit cfb1b5d

Please sign in to comment.