Skip to content

Commit

Permalink
Fix S3 file uploads to use signature v4
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Mar 10, 2022
1 parent 82f13cb commit 657a09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/back-end/src/services/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let s3: AWS.S3;
function getS3(): AWS.S3 {
if (!s3) {
AWS.config.update({ region: S3_REGION });
s3 = new AWS.S3();
s3 = new AWS.S3({ signatureVersion: "v4" });
}
return s3;
}
Expand Down

0 comments on commit 657a09e

Please sign in to comment.