How can I get past this CORS error with Next.js?
I am hitting my backend with no issues in localhost until I use the productions server, then I’m hitting a CORS error. I’m using a Next.js backend and Vite/React frontend.
How can I get past this cors error with nextjs?
I am hitting my backend with no issues in localhost until I use the productions server, then I’m hitting a cors error. I’m using a nextjs backend and vite/react frontend. Any help is appreciated. Thanks in advance