osPrims / chatApp

A chatroom based web application built using Express.js and Socket.IO
https://chatapp-wuhy.onrender.com/
MIT License
22 stars 52 forks source link

#189-fix redundant messages #190

Closed ozair-dev closed 1 year ago

ozair-dev commented 1 year ago

Fixed the redundant messages issue. Turns out the issue was on the client size. Socket was disconnecting and reconnecting silently and all messges were appended to the chat. This issue was only occuring on the production version, not on the client. Thus it was a little hard to debug for me. I am sure I have made the necessary changes and it is ready to be deployed. Please deploy so I can see if any issue remains on the production version.

Also there was a little error while sending files, which is now fixed. Previously files could not be sent.

Fixes #189