Move upload to root of functions
This commit is contained in:
parent
ad9c7a2739
commit
1ed905f4e1
@ -23,7 +23,7 @@ export default async function (
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
await aws.sign(
|
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: {
|
aws: {
|
||||||
allHeaders: true,
|
allHeaders: true,
|
Loading…
x
Reference in New Issue
Block a user