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"))