From 07033aa1a01fa673558ea6f82dd4ada06d08c59e Mon Sep 17 00:00:00 2001 From: Nathan LaFreniere Date: Fri, 4 Dec 2015 11:31:06 -0800 Subject: [PATCH] add public-read acl to redirects --- aws.go | 1 + 1 file changed, 1 insertion(+) diff --git a/aws.go b/aws.go index aa45b27..f3d771f 100644 --- a/aws.go +++ b/aws.go @@ -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), })