Skip to content

Commit

Permalink
Uploads: silence type error
Browse files Browse the repository at this point in the history
  • Loading branch information
elsueno committed Jun 5, 2024
1 parent 978907c commit 95382cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/api/uploads/[slug]/proxyUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export async function proxyUrl(request: Request, url: string) {

return new Response(response.body!, {
status: response.status,
// @ts-expect-error - TODO: find out why this is a type error
headers: {
'Access-Control-Allow-Origin': '*',
'Content-Length': response.headers.get('content-length'),
Expand Down

0 comments on commit 95382cc

Please sign in to comment.