mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-06 20:42:57 +08:00
🐛 Fix(custom): encode preSignedUrl to ensure valid URL format
ISSUES CLOSED: #410
This commit is contained in:
@@ -90,7 +90,7 @@ export const NewDownloader = async (
|
||||
headers?: any
|
||||
): Promise<boolean> => {
|
||||
const options = {
|
||||
url: preSignedUrl,
|
||||
url: encodeURI(preSignedUrl),
|
||||
directory: path.dirname(savedFilePath),
|
||||
fileName: path.basename(savedFilePath),
|
||||
cloneFiles: false,
|
||||
|
||||
Reference in New Issue
Block a user