Hi Vercel Community
I'm encountering an issue where my application works fine locally with express.js, but it fails after i deploy the backend server on vercel.
Problem Overview :
- After I deploy the backend server on vercel the link is accessible but when i use the link while fetching data in client site it give me cors policy error even though i have used it.
- It also says uncaught in promiss type error: failed to fetch
- But my project works locally without any problem
Here are the photos of the error and vercel logs:

What I Have Tried :
- I have used the cors policy middleware in the backend server
- set the origin of the client url ad credentials: true
- I have also checked that the environment variables are okay.
Repository: Backend: https://github.com/alzamo12/car-doctor-server.git Frontend : https://github.com/alzamo12/car-doctor-client-crud.git
Request for Help:
Has anyone experiences a similar issue where the clinet site can fetch data locally but falls in vercel production without clear errors in the logs? any guidance or suggestions on how to resolve or debug it would be greatly appreciated.
Thank You!


