diff --git a/src/main/utils/deleteFunc.ts b/src/main/utils/deleteFunc.ts index fad49fd6..10454981 100644 --- a/src/main/utils/deleteFunc.ts +++ b/src/main/utils/deleteFunc.ts @@ -155,6 +155,9 @@ export async function removeFileFromS3InMain(configMap: IStringKeyMap, dogeMode: } } let result: any + try { + fileKey = decodeURIComponent(fileKey) + } catch (err: any) {} try { const client = new S3Client(s3Options) const command = new DeleteObjectCommand({