You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"the dev root-certificate-path option was provided, but you must enable one of the following Tauri features in Cargo.toml: native-tls, native-tls-vendored, rustls-tls"
71
+
);
72
+
}
73
+
}else{
74
+
log::warn!(
75
+
"loading HTTPS URL; you might need to provide a certificate via the `dev --root-certificate-path` option. You must enable one of the following Tauri features in Cargo.toml: native-tls, native-tls-vendored, rustls-tls"
76
+
);
77
+
}
78
+
}
79
+
let client = client_builder.build().unwrap();
80
+
81
+
let response_cache = Arc::new(Mutex::new(HashMap::new()));
let certificate = reqwest::Certificate::from_pem(cert_pem.as_bytes())
135
-
.expect("failed to parse TAURI_DEV_ROOT_CERTIFICATE");
136
-
client = client.tls_certs_merge([certificate]);
137
-
}
138
-
139
-
#[cfg(not(any(
140
-
feature = "native-tls",
141
-
feature = "native-tls-vendored",
142
-
feature = "rustls-tls"
143
-
)))]
144
-
{
145
-
log::warn!(
146
-
"the dev root-certificate-path option was provided, but you must enable one of the following Tauri features in Cargo.toml: native-tls, native-tls-vendored, rustls-tls"
147
-
);
148
-
}
149
-
}else{
150
-
log::warn!(
151
-
"loading HTTPS URL; you might need to provide a certificate via the `dev --root-certificate-path` option. You must enable one of the following Tauri features in Cargo.toml: native-tls, native-tls-vendored, rustls-tls"
0 commit comments