Skip to content

Commit 1f71486

Browse files
committed
fix(cloudfront-signer): update readme
1 parent 8c6ce7b commit 1f71486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cloudfront-signer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const s3ObjectKey = "private-content/private.jpeg";
1717
const url = `${cloudfrontDistributionDomain}/${s3ObjectKey}`;
1818
const privateKey = "CONTENTS-OF-PRIVATE-KEY";
1919
const keyPairId = "PUBLIC-KEY-ID-OF-CLOUDFRONT-KEY-PAIR";
20-
const dateLessThan = "2022-01-01"; // accepts string (Date constructor compatible), number (milliseconds since epoch)
20+
const dateLessThan = "2022-01-01"; // any Date constructor compatible
2121

2222
const signedUrl = getSignedUrl({
2323
url,

0 commit comments

Comments
 (0)