diff options
Diffstat (limited to 'cmd/uploud/main.go')
| -rw-r--r-- | cmd/uploud/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/uploud/main.go b/cmd/uploud/main.go index 13d508c..2d990a1 100644 --- a/cmd/uploud/main.go +++ b/cmd/uploud/main.go @@ -26,7 +26,6 @@ import ( "github.com/gen2brain/webp" "golang.org/x/sync/errgroup" "within.website/x/internal" - "within.website/x/tigris" ) var ( @@ -135,8 +134,9 @@ func main() { ContentLength: aws.Int64(st.Size()), ChecksumSHA256: aws.String(shaSum), ContentMD5: aws.String(md5Sum), + CacheControl: aws.String("max-age=2592000,public"), }, - tigris.WithCreateObjectIfNotExists(), + //tigris.WithCreateObjectIfNotExists(), ) if err != nil { log.Fatal(err) |
