mirror of
https://github.com/outline/outline.git
synced 2026-11-28 08:14:58 +03:00
fix: Ensure signed attachment urls are always downloaded rather than loaded in browser
This commit is contained in:
1 parent
e92d68a0a3
commit
206545f350
1 file changed
+1
@@ -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