We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6ce7b commit 1f71486Copy full SHA for 1f71486
packages/cloudfront-signer/README.md
@@ -17,7 +17,7 @@ const s3ObjectKey = "private-content/private.jpeg";
17
const url = `${cloudfrontDistributionDomain}/${s3ObjectKey}`;
18
const privateKey = "CONTENTS-OF-PRIVATE-KEY";
19
const keyPairId = "PUBLIC-KEY-ID-OF-CLOUDFRONT-KEY-PAIR";
20
-const dateLessThan = "2022-01-01"; // accepts string (Date constructor compatible), number (milliseconds since epoch)
+const dateLessThan = "2022-01-01"; // any Date constructor compatible
21
22
const signedUrl = getSignedUrl({
23
url,
0 commit comments