From ba66e33913bf9b99b97b8456b072363356f8fa23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Wed, 29 Dec 2021 22:06:07 +0800 Subject: [PATCH] :sparkler: add ico 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 07b2e3aa..07fdba9a 100644 --- a/conf/var.go +++ b/conf/var.go @@ -35,7 +35,7 @@ var ( OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"} VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm"} AudioTypes = []string{"mp3", "flac", "ogg", "m4a", "wav"} - ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg"} + ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg", "ico"} ) // settings