add public-read acl to redirects

This commit is contained in:
Nathan LaFreniere 2015-12-04 11:31:06 -08:00
parent 2187920d58
commit 07033aa1a0
1 changed files with 1 additions and 0 deletions

1
aws.go
View File

@ -238,6 +238,7 @@ func (a *AWS) AddRedirects(redirects map[string]string) error {
_, err := a.client.PutObject(&s3.PutObjectInput{
Bucket: aws.String(a.vargs.Bucket),
Key: aws.String(path),
ACL: aws.String("public-read"),
WebsiteRedirectLocation: aws.String(location),
})