We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/
1 parent 869d202 commit 47d9b6bCopy full SHA for 47d9b6b
server/src/file/file.service.ts
@@ -102,9 +102,7 @@ export class FileService {
102
const command = new GetObjectCommand({
103
Bucket: bucket,
104
Key: key,
105
- ResponseContentDisposition: `attachment; filename="${filename
106
- .split('/')
107
- .pop()}"`,
+ ResponseContentDisposition: `attachment; filename="${filename}"`,
108
});
109
110
const signedUrl = await getSignedUrl(this.s3Client, command, {
0 commit comments