Did a lot. Tested SSE & started on socket.io, should prob kill s.io replace w/ ws

This commit is contained in:
2021-11-26 20:05:42 +01:00
parent 2f88516326
commit b8a61d1a0e
25 changed files with 1200 additions and 47 deletions

View File

@@ -22,6 +22,7 @@ const validateUsername = (username) => {
const io = (io) => {
io.on("connection", socket => {
console.log("does this happend first")
let username = null;
socket.on("username", msg => {