fix: Ensure signed attachment urls are always downloaded rather than loaded in browser

This commit is contained in:
Tom Moor
2022-07-12 17:14:22 +01:00
parent e92d68a0a3
commit 206545f350

View File

@@ -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