I delopyed backend on Render and frontend on Vercel, APIs are working great with third party providers like postman and hoppscoth but its’s giving errors on my application
/login:1 Access to XMLHttpRequest at ‘https://socialnet-dblr.onrender.com/login’ from origin ‘https://social-net-five.vercel.app’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Failed to load resource: net::ERR_FAILED
(Even I whitelisted my frontend origin)