From 91c2c215225f663c3a7e1e0f221c0fee83a64c00 Mon Sep 17 00:00:00 2001 From: Xhofe Date: Tue, 21 Dec 2021 15:44:07 +0800 Subject: [PATCH] :sparkler: support wav audio preview --- conf/var.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/var.go b/conf/var.go index f29910fa..504337a1 100644 --- a/conf/var.go +++ b/conf/var.go @@ -34,7 +34,7 @@ var ( "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"} - AudioTypes = []string{"mp3", "flac", "ogg", "m4a"} + AudioTypes = []string{"mp3", "flac", "ogg", "m4a", "wav"} ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg"} )