Well, I created a chat application using NodeJS and Socket-io [express and ejs also, if that matters]. And it works just fine on my dev computer, but then I uploaded it onto Github and created a project from it on Glitch for hosting it. But the thing is, it doesn’t work.
By “it doesn’t work”, I mean, the server works, EJS properly renders my pages. But the actual chat messages don’t show up. Also, whenever I try to create a new room, it shows up only after I refresh the page. So I guess something is wrong with socket-io.