From 6d917bdf1f3c60b83e082850994978e67a731178 Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 4 Aug 2024 18:37:00 -0300 Subject: [PATCH] allow mkv --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 47f1f72..2d8649c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -339,6 +339,7 @@ async fn upload_file( let is_video = file_type.starts_with("video/") || file_name.ends_with(".mp4") || file_name.ends_with(".gif") + || file_name.ends_with(".mkv") || file_name.ends_with(".webm"); if is_video { let mut final_tag_set = HashSet::new();