Skip to content

Commit

Permalink
Merge branch 'bhsj/noverify' of https://github.com/benhjames/node-pos…
Browse files Browse the repository at this point in the history
…tgres into benhjames-bhsj/noverify
  • Loading branch information
brianc committed May 5, 2020
2 parents 88da148 + 6937a24 commit d8c7005
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/pg/lib/connection-parameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ var useSsl = function () {
case 'verify-ca':
case 'verify-full':
return true
case 'no-verify':
return { rejectUnauthorized: false }
}
return defaults.ssl
}
Expand Down

0 comments on commit d8c7005

Please sign in to comment.