From 4c9bdd64e0edbf32344f4bd3854097d20660876b Mon Sep 17 00:00:00 2001 From: richjohnrambo Date: Wed, 9 Sep 2026 14:07:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DOSS=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E9=A2=84=E7=AD=BE=E5=90=8D=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/media/oss/oss.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/media/oss/oss.go b/server/media/oss/oss.go index fb1dd27..88f5fab 100644 --- a/server/media/oss/oss.go +++ b/server/media/oss/oss.go @@ -236,7 +236,6 @@ func (oh *ossHandler) Headers(tenantID types.TenantID, method string, url *url.U case http.MethodGet: options := []aliyunoss.Option{ aliyunoss.ResponseCacheControl(oh.conf.CacheControl), - aliyunoss.ResponseContentType(fdef.MimeType), } if isAttachment, _ := strconv.ParseBool(url.Query().Get("asatt")); isAttachment { options = append(options, aliyunoss.ResponseContentDisposition("attachment"))