1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Merge pull request #12918 from Budibase/infra/update-expiry-time

update expiry time for attachments/images
This commit is contained in:
Martin McKeaveney 2024-01-31 14:14:25 +02:00 committed by GitHub
commit 212ea6c89b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
}
}