upd pg ssl
This commit is contained in:
parent
53e8257268
commit
90431b0fad
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue