Skip to content

Commit

Permalink
remove unsupported no-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
richardbiddle committed Jan 21, 2021
1 parent eee37cf commit 10d3e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports.setDatabaseUrl = (url) => databaseUrl = url
module.exports.getDatabaseUrl = () => databaseUrl

const params = url.parse(databaseUrl);
let ssl = ( PGSSLMODE === 'require' || PGSSLMODE === 'no-verify' ? { rejectUnauthorized: false } : false),
let ssl = ( PGSSLMODE === 'require' ? { rejectUnauthorized: false } : false),
auth = params.auth.split(':'),
config = {
user: auth[0],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lib-lequel",
"version": "3.0.0",
"version": "4.0.0",
"description": "Simple Database query abstraction library lescapes style",
"main": "/lib/",
"devDependencies": {
Expand Down

0 comments on commit 10d3e8c

Please sign in to comment.