Skip to content

Commit 9207eb6

Browse files
committed
feat: add m4v to default video types (close OpenListTeam#1114)
1 parent 866df05 commit 9207eb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conf/var.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var (
4040
"go", "sh", "c", "cpp", "h", "hpp", "tsx", "vtt", "srt", "ass"}
4141
DProxyTypes = []string{"m3u8"}
4242
OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"}
43-
VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm", "flv"}
43+
VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm", "flv", "m4v"}
4444
AudioTypes = []string{"mp3", "flac", "ogg", "m4a", "wav", "opus"}
4545
ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg", "ico", "swf", "webp"}
4646
)

0 commit comments

Comments
 (0)