Merge remote-tracking branch 'forgejo/forgejo-development' into forgejo
This commit is contained in:
commit
95e4f16899
|
@ -142,7 +142,7 @@ func (m *MinioStorage) Save(path string, r io.Reader, size int64) (int64, error)
|
|||
m.buildMinioPath(path),
|
||||
r,
|
||||
size,
|
||||
minio.PutObjectOptions{ContentType: "application/octet-stream"},
|
||||
minio.PutObjectOptions{ContentType: "application/octet-stream", SendContentMd5: true},
|
||||
)
|
||||
if err != nil {
|
||||
return 0, convertMinioErr(err)
|
||||
|
|
Loading…
Reference in New Issue