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.
2 parents 510ccf7 + 3fe6ec7 commit b771bafCopy full SHA for b771baf
lib/web/imageRouter/s3.js
@@ -29,7 +29,8 @@ exports.uploadImage = function (imagePath, callback) {
29
const params = {
30
Bucket: config.s3bucket,
31
Key: path.join('uploads', path.basename(imagePath)),
32
- Body: buffer
+ Body: buffer,
33
+ ACL: 'public-read'
34
}
35
36
const mimeType = getImageMimeType(imagePath)
0 commit comments