feat: set pre-signed url expiry to 15 min

This commit is contained in:
2025-12-05 09:54:03 +05:30
parent c4b8d464f1
commit 911ff7a85b

View File

@@ -36,7 +36,7 @@ export async function getUploadUrl(key: string) {
Key: key, Key: key,
}); });
return await getSignedUrl(client, command, { expiresIn: 600 }); return await getSignedUrl(client, command, { expiresIn: 900 });
} }
export async function getUploadUrlMultiPart(key: string, fileSize: number) { export async function getUploadUrlMultiPart(key: string, fileSize: number) {