Skip to content
Merged
4 changes: 4 additions & 0 deletions apps/sim/app/api/tools/supabase/storage-upload/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
'Content-Type': uploadContentType,
}

if (validatedData.cacheControl) {
headers['cache-control'] = validatedData.cacheControl
}
Comment thread
waleedlatif1 marked this conversation as resolved.

if (validatedData.upsert) {
headers['x-upsert'] = 'true'
}
Expand Down
Loading
Loading