Skip to content

Commit 0c846de

Browse files
committed
docs: We have dropped the CORS example linked (#84065)
We have dropped the example linked in this page. I'll re-evaluate later if the section is still enough for a dev to understand how to set CORS related headers.
1 parent 5b69afe commit 0c846de

File tree

1 file changed

+0
-1
lines changed
  • docs/01-app/03-api-reference/03-file-conventions

1 file changed

+0
-1
lines changed

docs/01-app/03-api-reference/03-file-conventions/route.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,6 @@ export async function GET(request) {
546546
> **Good to know**:
547547
>
548548
> - To add CORS headers to multiple Route Handlers, you can use [Middleware](/docs/app/api-reference/file-conventions/middleware#cors) or the [`next.config.js` file](/docs/app/api-reference/config/next-config-js/headers#cors).
549-
> - Alternatively, see our [CORS example](https://github.com/vercel/examples/blob/main/edge-functions/cors/lib/cors.ts) package.
550549
551550
### Webhooks
552551

0 commit comments

Comments
 (0)