I am new to WebSocket and struggling in understanding the concept. I created a realtime chat app and deploy it to Firebase. It works fine on localhost but throws an error af