mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-09-05 05:54:55 +08:00
feat: add HEIF, HEIC, and WebP to image extensions
- Added some image formats: heif, heic, webp
This commit is contained in:
parent
e7f5fca450
commit
59a0702df2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const (
|
|||
|
||||
var (
|
||||
documentExtensions = []string{"doc", "docx", "ppt", "pptx", "pps", "ppsx", "odt", "xls", "xlsx", "csv", "pdf", "txt"}
|
||||
imageExtensions = []string{"jpg", "jpeg", "png", "gif", "bmp", "svg"}
|
||||
imageExtensions = []string{"jpg", "jpeg", "png", "gif", "bmp", "svg", "webp", "heif", "heic"}
|
||||
videoExtensions = []string{"mp4", "webm", "mov", "avi", "m4v", "flv", "wmv", "mkv", "mpg", "mpeg", "m2v", "mpv"}
|
||||
audioExtensions = []string{"mp3", "wav", "ogg", "m4a", "flac", "aac", "wma", "aiff", "ape", "alac", "opus", "pcm"}
|
||||
archiveExtensions = []string{"zip", "rar", "tar", "gz", "7z", "iso", "dmg", "pkg"}
|
||||
|
|
Loading…
Add table
Reference in a new issue