im facing a issue in deployment to vercel i have a webapp and both of its backend and frontend links are here im facing the issue of status 404 when /products route is hit by the api from the frontend but when i run this app on localhost it works just fine i have tried everything possible but im still getting the same error i dont know what to do. link to backend – https://github.com/vckymann/backend link to frontend – https://github.com/vckymann/Stealth i would be very thankful if u guys can help me out.
at first i was getting the CORS error although i was already using cors in the backend so to solve it i had to create a specific vercel.json file but once i created it the CORS error was solved and this new status 404 came