Skip to content

Commit

Permalink
jokerfication
Browse files Browse the repository at this point in the history
  • Loading branch information
iznaut committed Nov 1, 2024
1 parent 036a5dc commit 5c49cf5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion db.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ const pool = new Pool({
password: process.env.PGPASSWORD,
host: process.env.PGHOST,
port: process.env.PGPORT, // default Postgres port
database: process.env.PGDATABASE
database: process.env.PGDATABASE,
ssl: {
rejectUnauthorized: true,
ca: process.env.CA_CERT,
},
});

module.exports = {
Expand Down

0 comments on commit 5c49cf5

Please sign in to comment.