Skip to content

Commit a4d2315

Browse files
Adds logic to stop processing from failing
1 parent 2c85971 commit a4d2315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/s3-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ exports.handler = async (event, context, callback) => {
4646
const url = S3.getSignedUrl('getObject', {
4747
Bucket: bucket,
4848
Key: key,
49-
Expires: CONFIG.SIGNED_URL_DURATION
49+
Expires: 3600 // 1 hour in seconds
5050
});
5151
console.log('created signed url', url);
5252

0 commit comments

Comments
 (0)