mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-22 21:04:07 +08:00
fix typos
This commit is contained in:
parent
01104e55b1
commit
0949b3382e
1
alist-web
Submodule
1
alist-web
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit f72324a29d8a193be6c522f73fc9c168e450260c
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user