update expiry time for attachments/images

This commit is contained in:
Martin McKeaveney 2024-01-31 08:57:54 -03:00
parent 966654e970
commit a23f76b8c8
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const getCloudfrontSignParams = () => {
return {
keypairId: env.CLOUDFRONT_PUBLIC_KEY_ID!,
privateKeyString: getPrivateKey(),
expireTime: new Date().getTime() + 1000 * 60 * 60, // 1 hour
expireTime: new Date().getTime() + 1000 * 60 * 60 * 24, // 1 day
}
}