Skip to content

Commit b275c8f

Browse files
committed
feat(database): Added ssl option with rejectUnauthorized: false to Pool constructor in ConnectionPool class.
1 parent f4cb4e3 commit b275c8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/database/ConnectionPool.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export class ConnectionPool {
77
const connectionString = this.getConnectionString();
88
this._pool = new Pool({
99
connectionString,
10+
ssl: { rejectUnauthorized: false },
1011
});
1112
}
1213
@Catch({

0 commit comments

Comments
 (0)