fix typos

This commit is contained in:
New Future 2025-04-19 19:34:56 +00:00
parent 01104e55b1
commit 0949b3382e
2 changed files with 2 additions and 1 deletions

1
alist-web Submodule

@ -0,0 +1 @@
Subproject commit f72324a29d8a193be6c522f73fc9c168e450260c

View File

@ -296,7 +296,7 @@ func (d *AzureBlob) Put(ctx context.Context, dstDir model.Obj, stream model.File
// Set content MD5 hash if available
base64MD5 := stream.GetHash().GetHash(utils.MD5)
if base64MD5 != "" {
// covert base64 to hex byte
// convert base64 to hex byte
md5, err := base64.StdEncoding.DecodeString(base64MD5)
if err == nil && len(md5) == 16 {
options.HTTPHeaders.BlobContentMD5 = md5