Did a lot. Tested SSE & started on socket.io, should prob kill s.io replace w/ ws
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user