Skip to content

Commit

Permalink
Add SSL configuration to Postgres connection pool
Browse files Browse the repository at this point in the history
  • Loading branch information
MXPOL committed May 15, 2024
1 parent 4fb038a commit 46025a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/external-db-postgres/src/connection_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default (cfg: PostgresConfig, _poolOptions: postgresPoolOptions) => {
}

const filterParser = new FilterParser()
const pool = new Pool({ ...config, ...poolOptions })
const pool = new Pool({ ...config, ...poolOptions, ssl: { rejectUnauthorized: false } })

const databaseOperations = new DatabaseOperations(pool)
const dataProvider = new DataProvider(pool, filterParser)
Expand Down

0 comments on commit 46025a2

Please sign in to comment.