Missing CORS Proxy on Next.js API Routes in v0.dev – Change or Bug?

Hi everyone,

I’ve been working on a Next.js application hosted on v0.dev and have noticed a significant change. Previously, when calling my API endpoints, the platform automatically proxied the requests with CORS handling, allowing the calls to work seamlessly without manual configuration.

Now, however, it appears that the CORS proxy is no longer in effect, and my API calls are failing due to CORS issues. I’m wondering if this is an intentional change in v0.dev or an unexpected bug. Has anyone else experienced this behavior? Are there any recommended workarounds or settings to reinstate the previous functionality?

Looking forward to your insights.

Thanks!

https://v0.dev/chat/next-js-gemini-chat-QqoI0jEqSgK?b=b_1HJxQl1aC9d