fix: Remove hard-coded ServerSideEncryption on AWS, configure on AWS or storage provider
This commit is contained in:
@ -110,7 +110,6 @@ export const uploadToS3FromBuffer = async (
|
||||
Key: key,
|
||||
ContentType: contentType,
|
||||
ContentLength: buffer.length,
|
||||
ServerSideEncryption: "AES256",
|
||||
Body: buffer,
|
||||
})
|
||||
.promise();
|
||||
@ -135,7 +134,6 @@ export const uploadToS3FromUrl = async (
|
||||
Key: key,
|
||||
ContentType: res.headers["content-type"],
|
||||
ContentLength: res.headers["content-length"],
|
||||
ServerSideEncryption: "AES256",
|
||||
Body: buffer,
|
||||
})
|
||||
.promise();
|
||||
|
Reference in New Issue
Block a user