Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"

This commit is contained in:
Pavel Djundik 2020-06-14 12:32:08 +03:00
parent 78426087d1
commit d29f2fb251

View File

@ -354,7 +354,9 @@ function fetch(uri, headers) {
retry: 0,
timeout: 5000,
headers: getRequestHeaders(headers),
rejectUnauthorized: false,
https: {
rejectUnauthorized: false,
},
});
gotStream