What are changes that we have to make in cors After deployment frontend to netlify and backend to heroku.?
Activity
rtewari056 commentedon Oct 10, 2022
app.use(cors({ origin: "<YOUR_FRONTEND_DEPLOYED_PROJECT_URL>" })); // Add this in line no 10 in index.js file inside server folder
Proeditor07 commentedon Sep 3, 2023
hey still i am getting those CROS and socket error. Have you deployed it successfully? Can you please guide me a little