adrianhajdin / project_chat_application

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a real time chat application. Covered topics: React.js, Node.js, Express.js, and Socket.io.
https://www.jsmastery.pro
3.98k stars 1.54k forks source link

CORS issue is there while clicking on submit/send button #84

Open manishverma10 opened 2 years ago

manishverma10 commented 2 years ago

Access to XMLHttpRequest at 'https://project-chat-application.herokuapp.com/socket.io/?EIO=3&transport=polling&t=OCcR6zd' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I could you fix pls this ?

https://www.codingdeft.com/posts/nodejs-react-cors-error/

leo-1228 commented 4 months ago

Yes, I can. please give me assign. If you want to discuss with me, this is my telegram @leo1228codeforce , contact me.