Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix: remove dangerous acceptance of invalid certificates in HTTP client initialization

Tonho0dbd3262b329
diff --git a/src-tauri/src/core/hls_downloader.rs b/src-tauri/src/core/hls_downloader.rs
index a8942676..d1afc31b 100644
--- a/src-tauri/src/core/hls_downloader.rs
+++ b/src-tauri/src/core/hls_downloader.rs
@@ -28,7 +28,6 @@ impl HlsDownloader {
pub fn new() -> Self {
Self::with_client(
Client::builder()
- .danger_accept_invalid_certs(true)
.connect_timeout(Duration::from_secs(30))
.timeout(Duration::from_secs(300))
.pool_max_idle_per_host(50)