I’ve been using wp for a month to build headless WordPress with Nextjs and Faust.js. There was no CORS issue till to fetch a CSV file. Is it possible to handle CORS errors without making changes in PHP?:)
I found some solutions on PHP (I don’t know it at all), but it didn’t work for me. One way might be to add a wp plugin, but I’m unsure. Btw, I also tried mode: no-cors
, but the response was empty
New contributor
Curious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
5