Skip to content

Commit 9c7e589

Browse files
committed
Change thumbnail upload ACL
1 parent 7de0dd5 commit 9c7e589

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db/s3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func PutThumbnail(id int, data io.Reader) error {
2727
_, err := s3client.PutObject(context.TODO(), &s3.PutObjectInput{
2828
Bucket: aws.String("flatgrass-toybox-image"),
2929
Key: aws.String(fmt.Sprintf("%d_thumb_128.png", id)),
30-
ACL: types.ObjectCannedACLAuthenticatedRead,
30+
ACL: types.ObjectCannedACLPublicRead,
3131
Body: data,
3232
})
3333
if err != nil {

0 commit comments

Comments
 (0)