Unverified Commit 57965770 authored by Robbie Averill's avatar Robbie Averill Committed by GitHub

Minor docs edit: cors -> CORS (#28472)

## Documentation / Examples

- [x] Make sure the linting passes
parent f78ebd08
...@@ -55,7 +55,7 @@ For new projects, you can build your entire API with API Routes. If you have an ...@@ -55,7 +55,7 @@ For new projects, you can build your entire API with API Routes. If you have an
## Caveats ## Caveats
- API Routes [do not specify CORS headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS), meaning they are **same-origin only** by default. You can customize such behavior by wrapping the request handler with the [cors middleware](/docs/api-routes/api-middlewares.md#connectexpress-middleware-support). - API Routes [do not specify CORS headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS), meaning they are **same-origin only** by default. You can customize such behavior by wrapping the request handler with the [CORS middleware](/docs/api-routes/api-middlewares.md#connectexpress-middleware-support).
- API Routes can't be used with [`next export`](/docs/advanced-features/static-html-export.md) - API Routes can't be used with [`next export`](/docs/advanced-features/static-html-export.md)
## Related ## Related
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment