Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move upload to root of functions
  • Loading branch information
regalijan committed Mar 26, 2024
1 parent ad9c7a2 commit 1ed905f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/upload.ts → functions/upload.ts
Expand Up @@ -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,
Expand Down

0 comments on commit 1ed905f

Please sign in to comment.