Fix media signing
All checks were successful
Test, Build, Deploy / Test, Build, and Deploy (push) Successful in 56s
Test, Build, Deploy / Create Sentry Release (push) Successful in 6s

This commit is contained in:
2026-04-11 04:59:05 -04:00
parent da0ce2b188
commit f32a7912b4

View File

@@ -50,6 +50,11 @@ export async function onRequestGet(context: RequestContext) {
urlPromises.push(
aws.sign(
`https://car-crushers.${context.env.R2_ZONE}.r2.cloudflarestorage.com/${attachment}?X-Amz-Expires=1800`,
{
aws: {
signQuery: true,
},
},
),
);
}