Skip to content

Commit

Permalink
chore(req): removed no trust dns to accept invalid certs
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Mar 26, 2024
1 parent f44a7a9 commit b156a9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cli/screenshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ pub async fn take_screenshot(
let client = reqwest::Client::builder()
.danger_accept_invalid_certs(danger_accept_invalid_certs)
.http1_ignore_invalid_headers_in_responses(danger_accept_invalid_certs)
.trust_dns(danger_accept_invalid_certs)
.build()?;
let re = Regex::new(r"[<>?.~!@#$%^&*\\/|;:']").unwrap();
let regurl = re.replace_all(&url, "").to_string();
Expand Down

0 comments on commit b156a9f

Please sign in to comment.