From a81a18b1736f72c70482d18bc81b0b054183383b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 16 Feb 2021 00:16:23 -0800 Subject: [PATCH] fix: Remove hard-coded ServerSideEncryption on AWS, configure on AWS or storage provider --- server/utils/s3.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/utils/s3.js b/server/utils/s3.js index 8598eb6d..eda432b3 100644 --- a/server/utils/s3.js +++ b/server/utils/s3.js @@ -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();