diff --git a/conf/var.go b/conf/var.go index cf1e9227439..4efc92eac1b 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"} )