Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar authored Feb 17, 2022
1 parent 5bc9193 commit 27b16a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# NextJS Rewrites Break CORS

[Link to Issue on NextJS](https:/vercel/next.js/issues/11930)

## Problem

When using rewrites, we expect endpoints to be able to handle CORS, but nextjs does custom CORS handling
Expand All @@ -17,3 +19,4 @@ curl -v 'http://localhost:3000/api' \

3. Look at server logs. If the endpoint was executed, you would have seen `nextjs will never log this line with OPTIONS and an Origin header`
in the server console

0 comments on commit 27b16a0

Please sign in to comment.