Move upload to root of functions

This commit is contained in:
Regalijan 2024-03-25 21:20:17 -04:00
parent ad9c7a2739
commit 1ed905f4e1
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -23,7 +23,7 @@ export default async function (
return (
await aws.sign(
`https://car-crushers.${env.R2_ZONE}.r2.cloudflarestorage.com/${path}`,
`https://car-crushers.${env.R2_ZONE}.r2.cloudflarestorage.com/${path}?X-Amz-Expires=1800`,
{
aws: {
allHeaders: true,