Skip to content

Commit 022ba15

Browse files
committed
overwrite invalid TLS certificates
1 parent 539363e commit 022ba15

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export default (
1616
removeQueryParameters: []
1717
},
1818
gotOptions = {
19+
https: {
20+
rejectUnauthorized: true
21+
},
1922
followRedirect: true,
2023
maxRedirects: 10,
2124
throwHttpErrors: true,

0 commit comments

Comments
 (0)