Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Commit 68fcf36

Browse files
peterkuiperjpignata
authored andcommitted
Default to v4, this should be supported everywhere. Fixes issue amazon-archives#28
1 parent 14943ed commit 68fcf36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lambda/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
'use strict';
22

33
const AWS = require('aws-sdk');
4-
const S3 = new AWS.S3();
4+
const S3 = new AWS.S3({
5+
signatureVersion: 'v4'
6+
});
57
const Sharp = require('sharp');
68

79
const BUCKET = process.env.BUCKET;

0 commit comments

Comments
 (0)