From eb69a26017280de2d7813d2afd9b9f4de18de0ae Mon Sep 17 00:00:00 2001 From: shy Date: Thu, 4 Jul 2024 03:02:13 +0800 Subject: [PATCH] add some --- base/nfs/dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/nfs/dir.go b/base/nfs/dir.go index a932c1be..e79b45f9 100644 --- a/base/nfs/dir.go +++ b/base/nfs/dir.go @@ -297,7 +297,7 @@ func Show(m *ice.Message, file string) bool { p := SHARE_LOCAL + file kit.If(m.Option(ice.MSG_USERPOD), func(pod string) { p = kit.MergeURL(p, ice.POD, pod) }) switch strings.ToLower(kit.Ext(file)) { - case PNG, JPG, JPEG: + case PNG, JPG, JPEG, "gif": m.EchoImages(p) case MP4, MOV: m.EchoVideos(p)