Skip to content

Commit e099945

Browse files
committed
Add SSL connection to postgres
1 parent 2283feb commit e099945

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/database/postgres.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ export class PointyPostgres extends BaseDb {
6666
synchronize: this.shouldSync,
6767
uuidExtension: pgOptions.uuidExtension
6868
? pgOptions.uuidExtension
69-
: 'pgcrypto'
69+
: 'pgcrypto',
70+
ssl: {
71+
rejectUnauthorized: false
72+
}
7073
}).catch((error) => {
7174
reject(error);
7275
return false;

0 commit comments

Comments
 (0)