Skip to content

Commit

Permalink
overwrite invalid TLS certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneJeon committed Dec 25, 2021
1 parent 539363e commit 022ba15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export default (
removeQueryParameters: []
},
gotOptions = {
https: {
rejectUnauthorized: true
},
followRedirect: true,
maxRedirects: 10,
throwHttpErrors: true,
Expand Down

0 comments on commit 022ba15

Please sign in to comment.