From c6b34a033b9715b73ee683b24cbe658e78161a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= Date: Thu, 20 Jan 2022 14:40:59 +0800 Subject: [PATCH] :wrench: add swf to image types --- conf/var.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/var.go b/conf/var.go index fd2831fb..e8630e0d 100644 --- a/conf/var.go +++ b/conf/var.go @@ -36,7 +36,7 @@ var ( OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"} 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"} + ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg", "ico", "swf"} ) var settingsMap = make(map[string]string, 0)