You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a chat functionalities for a project using Laravel + Vue + Socket.io, locally everything is working fine but when I upload on cPanel live Chat is not working, below is screenshot of Network error tab for reference https://prnt.sc/1m2qyap , with some other sub domain settings it shows error like this https://prnt.sc/1ppfi0b ( Even I have install cors and added in server.js
Note: On cPanel to run server.js, I have created app using Application Manager
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have created a chat functionalities for a project using Laravel + Vue + Socket.io, locally everything is working fine but when I upload on cPanel live Chat is not working, below is screenshot of Network error tab for reference https://prnt.sc/1m2qyap , with some other sub domain settings it shows error like this https://prnt.sc/1ppfi0b ( Even I have install cors and added in server.js
Note: On cPanel to run server.js, I have created app using Application Manager
Here is my server.js created for socket.io
Here is app.js code in which I have register.
Here is chat.js page code in which I have execute chat_message event.
It will be a great help if anyone can guide me how to fix it.
Beta Was this translation helpful? Give feedback.
All reactions