Move upload to root of functions
This commit is contained in:
@ -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,
|
Reference in New Issue
Block a user