both running smoothly on localhost
I deployed the react app on vercel and node server on heroku
Now my react app gives a CORS error when trying to access the node server at heroku.
No cors error was there in localhost, I've enabled all origins to access the server, I've double checked the environment variables on both apps, still the CORS error isn't going away
What can I be missing?
did you add cors module to server?
Обсуждают сегодня