fix: fix need to add a root path on filename

This commit is contained in:
Derrick Hammer 2024-02-02 16:45:50 -05:00
parent a3846a8e07
commit b82353cfa9
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ func (s *StorageServiceDefault) tusUploadTask(upload *models.TusUpload) error {
return tusUpload.GetReader(ctx)
},
Bucket: upload.Protocol,
FileName: hashStr,
FileName: "/" + hashStr,
Size: uint64(info.Size),
})