allow mkv
This commit is contained in:
parent
657436f80d
commit
6d917bdf1f
1 changed files with 1 additions and 0 deletions
|
@ -339,6 +339,7 @@ async fn upload_file(
|
||||||
let is_video = file_type.starts_with("video/")
|
let is_video = file_type.starts_with("video/")
|
||||||
|| file_name.ends_with(".mp4")
|
|| file_name.ends_with(".mp4")
|
||||||
|| file_name.ends_with(".gif")
|
|| file_name.ends_with(".gif")
|
||||||
|
|| file_name.ends_with(".mkv")
|
||||||
|| file_name.ends_with(".webm");
|
|| file_name.ends_with(".webm");
|
||||||
if is_video {
|
if is_video {
|
||||||
let mut final_tag_set = HashSet::new();
|
let mut final_tag_set = HashSet::new();
|
||||||
|
|
Loading…
Reference in a new issue