removed proxy

This commit is contained in:
Simon
2025-05-31 13:58:46 +00:00
parent 580751af03
commit edc7879324
2 changed files with 6 additions and 6 deletions

View File

@@ -36,8 +36,8 @@ impl PerverzijaProvider {
}
let client = reqwest::Client::builder()
.user_agent("Mozilla/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/33.0 Mobile/15E148 Safari/605.1.15")
.proxy(Proxy::https("http://192.168.0.101:8080").unwrap())
.danger_accept_invalid_certs(true)
// .proxy(Proxy::https("http://192.168.0.101:8080").unwrap())
// .danger_accept_invalid_certs(true)
.build()?;
let response = client.get(url.clone()).send().await?;
// print!("Response: {:?}\n", response);
@@ -74,8 +74,8 @@ impl PerverzijaProvider {
}
let client = reqwest::Client::builder()
.user_agent("Mozilla/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/33.0 Mobile/15E148 Safari/605.1.15")
.proxy(Proxy::https("http://192.168.0.101:8080").unwrap())
.danger_accept_invalid_certs(true)
// .proxy(Proxy::https("http://192.168.0.101:8080").unwrap())
// .danger_accept_invalid_certs(true)
.build()?;
let response = client.get(url.clone()).send().await?;
if response.status().is_success() {