fix: fix need to add a root path on filename
This commit is contained in:
parent
a3846a8e07
commit
b82353cfa9
|
@ -553,7 +553,7 @@ func (s *StorageServiceDefault) tusUploadTask(upload *models.TusUpload) error {
|
||||||
return tusUpload.GetReader(ctx)
|
return tusUpload.GetReader(ctx)
|
||||||
},
|
},
|
||||||
Bucket: upload.Protocol,
|
Bucket: upload.Protocol,
|
||||||
FileName: hashStr,
|
FileName: "/" + hashStr,
|
||||||
Size: uint64(info.Size),
|
Size: uint64(info.Size),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue