mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-05 15:37:21 +08:00
@@ -155,6 +155,9 @@ export async function removeFileFromS3InMain(configMap: IStringKeyMap, dogeMode:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let result: any
|
let result: any
|
||||||
|
try {
|
||||||
|
fileKey = decodeURIComponent(fileKey)
|
||||||
|
} catch (err: any) {}
|
||||||
try {
|
try {
|
||||||
const client = new S3Client(s3Options)
|
const client = new S3Client(s3Options)
|
||||||
const command = new DeleteObjectCommand({
|
const command = new DeleteObjectCommand({
|
||||||
|
|||||||
Reference in New Issue
Block a user