Next.js Discord

Discord Forum

CORS issue w/ Next.js request to Go server

Unanswered
Singapura posted this in #help-forum
Open in Discord
SingapuraOP
Do anyone ever faced this issue i have my next.js for frontend and golang backend
for some reason i ALWAYS get cors error which hitting a simple get request (i tried differect go web frameworks and different ways to handle cors), any one ?

is there iam supposed to do anything in next config ? to use something other than next's api routes ?

0 Replies