From 9207eb69ee47ead481785c2885596b3066181932 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Thu, 19 May 2022 15:31:40 +0800 Subject: [PATCH] feat: add `m4v` to default video types (close #1114) --- conf/var.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/var.go b/conf/var.go index cf1e9227..4efc92ea 100644 --- a/conf/var.go +++ b/conf/var.go @@ -40,7 +40,7 @@ var ( "go", "sh", "c", "cpp", "h", "hpp", "tsx", "vtt", "srt", "ass"} DProxyTypes = []string{"m3u8"} OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"} - VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm", "flv"} + VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm", "flv", "m4v"} AudioTypes = []string{"mp3", "flac", "ogg", "m4a", "wav", "opus"} ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg", "ico", "swf", "webp"} )