diff --git a/lib/web/imageRouter/s3.js b/lib/web/imageRouter/s3.js index 7fd78c32..fbed1b0c 100644 --- a/lib/web/imageRouter/s3.js +++ b/lib/web/imageRouter/s3.js @@ -29,7 +29,8 @@ exports.uploadImage = function (imagePath, callback) { const params = { Bucket: config.s3bucket, Key: path.join('uploads', path.basename(imagePath)), - Body: buffer + Body: buffer, + ACL: 'public-read' } const mimeType = getImageMimeType(imagePath)