mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix isahc tls config
This commit is contained in:
parent
64bb39362e
commit
f687969f04
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ async fn create_ctx(cli: &Cli) -> Result<Context> {
|
||||||
let client = isahc::HttpClient::new().unwrap();
|
let client = isahc::HttpClient::new().unwrap();
|
||||||
#[cfg(all(windows, target_env = "msvc"))]
|
#[cfg(all(windows, target_env = "msvc"))]
|
||||||
let client = isahc::HttpClientBuilder::default()
|
let client = isahc::HttpClientBuilder::default()
|
||||||
.proxy_tls_config(
|
.tls_config(
|
||||||
isahc::tls::TlsConfigBuilder::default().root_cert_store(
|
isahc::tls::TlsConfigBuilder::default().root_cert_store(
|
||||||
isahc::tls::RootCertStore::custom(
|
isahc::tls::RootCertStore::custom(
|
||||||
rustls_native_certs::load_native_certs()
|
rustls_native_certs::load_native_certs()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue