From 10bec310334603b7d2ec64f614d581367d0a4826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Thu, 6 Jan 2022 19:26:19 +0800 Subject: [PATCH] :sparkles: support flv preview --- conf/var.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/var.go b/conf/var.go index 93572e6e..62ca7f6e 100644 --- a/conf/var.go +++ b/conf/var.go @@ -34,7 +34,7 @@ var ( "js", "md", "json", "conf", "ini", "vue", "php", "py", "bat", "gitignore", "yml", "go", "sh", "c", "cpp", "h", "hpp", "tsx", "vtt", "srt", "ass"} OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"} - VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm"} + VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm", "flv"} AudioTypes = []string{"mp3", "flac", "ogg", "m4a", "wav"} ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg", "ico"} )