chat-app-react-nodejs
chat-app-react-nodejs copied to clipboard
Deployment error
What are changes that we have to make in cors After deployment frontend to netlify and backend to heroku.?
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
hey still i am getting those CROS and socket error. Have you deployed it successfully? Can you please guide me a little