🐛 Fix(custom): fix the s3 download issue

This commit is contained in:
Kuingsmile
2026-02-02 11:21:26 +08:00
parent b31b2df675
commit 859111eaa4
4 changed files with 7 additions and 2 deletions

View File

@@ -849,10 +849,11 @@ class S3plistApi {
expires: 36000,
customUrl,
})
const cleanURL = decodeURIComponent(preSignedUrl)
promises.push(
() =>
new Promise((resolve, reject) => {
NewDownloader(instance, preSignedUrl, id, savedFilePath, this.logger, this.proxy).then((res: boolean) => {
NewDownloader(instance, cleanURL, id, savedFilePath, this.logger, this.proxy).then((res: boolean) => {
if (res) {
resolve(res)
} else {

View File

@@ -1023,7 +1023,7 @@
<span>{{ item.finishTime }}</span>
<span class="text-xs font-semibold text-success">
{{
activeUpLoadTab === 'finished'
activeDownLoadTab === 'finished'
? t('pages.manage.bucket.success')
: t('pages.manage.bucket.failed')
}}