react-s3-uploader
Advanced tools
Comparing version 1.1.9 to 1.1.10
{ | ||
"name": "react-s3-uploader", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "React component that renders a file input and automatically uploads to an S3 bucket", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,3 +43,4 @@ react-s3-uploader | ||
app.use('/s3', require('react-s3-uploader/s3router')({ | ||
bucket: "MyS3Bucket" | ||
bucket: "MyS3Bucket", | ||
ACL: 'private' // this is default | ||
})); | ||
@@ -46,0 +47,0 @@ |
@@ -56,3 +56,3 @@ | ||
ContentType: mimeType, | ||
ACL: 'private' | ||
ACL: options.ACL || 'private' | ||
}; | ||
@@ -59,0 +59,0 @@ s3.getSignedUrl('putObject', params, function(err, data) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11709
82