Deployment error
Shivam-teotia opened this issue · comments
Shivam commented
What are changes that we have to make in cors
After deployment frontend to netlify and backend to heroku.?
Rohit Tewari commented
What are changes that we have to make in cors After deployment frontend to netlify and backend to heroku.?
app.use(cors({ origin: "<YOUR_FRONTEND_DEPLOYED_PROJECT_URL>" })); // Add this in line no 10 in index.js file inside server folder
Aditya Thosar commented
hey still i am getting those CROS and socket error. Have you deployed it successfully? Can you please guide me a little