diff --git a/conf/var.go b/conf/var.go index e8630e0d..a391ca4e 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", "swf"} + ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg", "ico", "swf", "webp"} ) var settingsMap = make(map[string]string, 0)