forked from extern/bruno
add ability to turn certificate validation off
This commit is contained in:
parent
87119cee2e
commit
d0147778db
@ -46,7 +46,6 @@ const runSingleRequest = async function (filename, bruJson, collectionPath, coll
|
||||
|
||||
const insecure = get(getOptions(), 'insecure', false);
|
||||
if(insecure) {
|
||||
console.log("Certificate validation has been disabled.");
|
||||
request.httpsAgent = new https.Agent({
|
||||
rejectUnauthorized: false
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user