MathieuLoutre / grunt-aws-s3

Grunt plugin to interact with AWS S3 using the AWS SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set param expires?

bobvanluijt opened this issue · comments

First of all: great module!

params: {
CacheControl: '3000',
Expires: '1700000000'
}

Gives me: InvalidParameterType: Expected params.Expires to be a Date object, ISO-8601 string, or a UNIX timestamp

My god, found it

params: {
CacheControl: '3000',
Expires: 1700000000
}