diff --git a/s3router.js b/s3router.js index 6141e66..1d6719e 100644 --- a/s3router.js +++ b/s3router.js @@ -90,7 +90,7 @@ function S3Router(options, middleware) { var params = { Bucket: S3_BUCKET, Key: fileKey, - Expires: 60, + Expires: options.expires || 60, ContentType: mimeType, ACL: options.ACL || 'private' };