Skip to content

Commit

Permalink
Merge pull request #18 from FindHotel/roll-back-acl-changes
Browse files Browse the repository at this point in the history
Revert "Remove public access ACL"
  • Loading branch information
skr1n authored Aug 28, 2022
2 parents d3d5b31 + 846486f commit 489fa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3client.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (c *s3Client) upload(r io.Reader) error {
input := &s3manager.UploadInput{
Body: r,
Bucket: aws.String(c.config.S3.Bucket),
ACL: aws.String("private"),
ACL: aws.String("public-read"),
Key: aws.String(key),
}
_, err := c.uploader.Upload(input)
Expand Down

0 comments on commit 489fa52

Please sign in to comment.