fix: Ensure signed attachment urls are always downloaded rather than loaded in browser
This commit is contained in:
@@ -226,6 +226,7 @@ export const getSignedUrl = async (key: string, expiresInMs = 60) => {
|
||||
Bucket: AWS_S3_UPLOAD_BUCKET_NAME,
|
||||
Key: key,
|
||||
Expires: expiresInMs,
|
||||
ResponseContentDisposition: "attachment",
|
||||
};
|
||||
|
||||
const url = isDocker
|
||||
|
||||
Reference in New Issue
Block a user