change cache control for thumbnails

This commit is contained in:
Niko Storni 2019-11-11 15:11:34 -05:00
parent 25e49f8ff2
commit d520ff2c68

View file

@ -66,6 +66,7 @@ func (u *thumbnailUploader) uploadThumbnail() error {
Body: thumb,
ACL: aws.String("public-read"),
ContentType: aws.String("image/jpeg"),
CacheControl: aws.String("public, max-age=2592000"),
})
u.mirroredUrl = ThumbnailEndpoint + u.name
return errors.Err(err)