Skip to content

Commit

Permalink
Proxy::all
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 28, 2024
1 parent 09853a2 commit 105d476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/turbo-tasks-fetch/src/lib.rs
Expand Up @@ -58,8 +58,8 @@ pub async fn fetch(

let client_builder = reqwest::Client::builder();
let client_builder = match proxy_option {
Some(ProxyConfig::Http(proxy)) => client_builder.proxy(reqwest::Proxy::http(proxy)?),
Some(ProxyConfig::Https(proxy)) => client_builder.proxy(reqwest::Proxy::https(proxy)?),
Some(ProxyConfig::Http(proxy)) => client_builder.proxy(reqwest::Proxy::all(proxy)?),
Some(ProxyConfig::Https(proxy)) => client_builder.proxy(reqwest::Proxy::all(proxy)?),
_ => client_builder,
};

Expand Down

0 comments on commit 105d476

Please sign in to comment.