upd pg ssl

This commit is contained in:
Lamp 2021-08-14 17:11:35 -07:00
parent 53e8257268
commit 90431b0fad
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ global.dClient = new Discord.Client({ disableMentions: 'everyone', restRequestTi
global.dbClient = new (require('pg').Client)({
connectionString: process.env.DATABASE_URL,
ssl: !testmode,
ssl: {rejectUnauthorized: false},
});
console.log("Connecting to Postgres…")
dbClient.connect().then(function(){