Compare commits

...

2 Commits

Author SHA1 Message Date
2fd959255d Merge pull request 'add log' (#4) from feauture into main
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m17s
Reviewed-on: #4
2026-01-22 09:32:09 +03:00
Smile Rex
12e789b22e add log 2026-01-22 09:31:16 +03:00

View File

@@ -29,6 +29,8 @@ func ServeWS(room *Room, w http.ResponseWriter, r *http.Request) {
return
}
log.Println("Client connected! \ninitData: ", data)
userID := data["user.id"]
username := data["user.username"]