mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-11 12:37:34 +02:00
chore(deps): update reqwest to 0.13 for updater (#3213)
This commit is contained in:
@@ -432,6 +432,12 @@ impl Updater {
|
||||
|
||||
log::debug!("checking for updates {url}");
|
||||
|
||||
#[cfg(feature = "rustls-tls")]
|
||||
if rustls::crypto::CryptoProvider::get_default().is_none() {
|
||||
// This can only fail if there is already a default provider which we checked for already.
|
||||
let _ = rustls::crypto::ring::default_provider().install_default();
|
||||
}
|
||||
|
||||
let mut request = ClientBuilder::new().user_agent(UPDATER_USER_AGENT);
|
||||
if self.config.dangerous_accept_invalid_certs {
|
||||
request = request.danger_accept_invalid_certs(true);
|
||||
|
||||
Reference in New Issue
Block a user