last comment
Sanchay151 hi sir i added `const corsConfig = { origin: ["localhost:3000", "sbroker.vercel.app"], credentials: true, }; // Apply CORS middleware to the router router.use(cors(corsConfig));` in the code but the i
Sanchay151 hii sir , i have checked logs of backend project but havent found anything. i have taken help from many of my friends who have deployed multiple sites and they couldnt find the error properly. i would
Sanchay151 hii sir, i checked logs and got to know my mongodb cluster wasnt recognising vercel ip address so i fixed it and site is working now. Thanks for your help, really grateful to you