We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c85971 commit a4d2315Copy full SHA for a4d2315
lib/s3-handler.js
@@ -46,7 +46,7 @@ exports.handler = async (event, context, callback) => {
46
const url = S3.getSignedUrl('getObject', {
47
Bucket: bucket,
48
Key: key,
49
- Expires: CONFIG.SIGNED_URL_DURATION
+ Expires: 3600 // 1 hour in seconds
50
});
51
console.log('created signed url', url);
52
0 commit comments