public api route blocked by preflights CORS OPTIONS
Unanswered
Boykin Spaniel posted this in #help-forum

Boykin SpanielOP
Hello,
I want to create a public API route accessible in POST. I modified my next.config.js to add the headers and fix CORS. But the addition of headers is done twice in the POST response. How to do ?
I want to create a public API route accessible in POST. I modified my next.config.js to add the headers and fix CORS. But the addition of headers is done twice in the POST response. How to do ?


