mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-07 16:44:27 +01:00
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