Relative Content

Tag Archive for apinext.jsbackendvercel

I am having a redirect issue with vercel and Nextjs app router

My api is working well on my local server and postman, and when I deploy to vercel it works well too. But when I change the domain settings to redirect to my custom domain from the vercel default domain, I get CORS ERROR. This does not happen when I am not redirecting the domain.