Skip to content

Commit

Permalink
chore: avoid repetition
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimduncan committed Jun 17, 2024
1 parent c730bd0 commit 5a93b69
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/web/src/app/api/s/[id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ export async function POST(
export async function OPTIONS() {
return new Response('', {
status: 200,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'POST, OPTIONS',
'Access-Control-Allow-Headers': 'Content-Type, Authorization',
},
headers: CORS_HEADERS,
});
}

0 comments on commit 5a93b69

Please sign in to comment.