Feat: Provide a switch for allowing invalid certificates (#450)

This commit is contained in:
Cyenoch
2024-02-25 16:07:06 +08:00
committed by GitHub
parent 38ab68492e
commit e29ce93d32
7 changed files with 27 additions and 0 deletions

View File

@@ -243,6 +243,7 @@ pub async fn resolve_scheme(param: String) {
user_agent: None,
with_proxy: Some(true),
self_proxy: None,
danger_accept_invalid_certs: None,
update_interval: None,
};
if let Ok(item) = PrfItem::from_url(url, None, None, Some(option)).await {