CORS is causing hell in App Router #64115
Unanswered
udohjeremiah
asked this question in
App Router
Replies: 1 comment
-
Running into the same issue here.. any updates please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm saying this with pain, because having gone through all the outlined methods to solving CORS issue when using Next.js App Router, painfully none has worked.
I am making a simple
POST
request fromhttp:localhost:3001
tohttp://localhost:3000/example
. But I keep getting these errors:This is my request:
This is my api
route.ts
:This is my version:
The methods I've tried to no avail are listed below:
next.config.js file
:Beta Was this translation helpful? Give feedback.
All reactions