Next.js Discord

Discord Forum

Next 13 cors error

Glö - Node js posted this in #help-forum
Open in Discord
Glö - Node jsOP
Hi Devs, I get cors error when I try to access an external API from Next 13 client, so I had to reroute it to the API so I can make the request from the server side.

This works but is too complex, is there a better way?

0 Replies