Feat: join team

This commit is contained in:
Grail Finder
2025-05-08 12:31:44 +03:00
parent b20f7ac6b7
commit 21948b23f4
9 changed files with 112 additions and 22 deletions

View File

@ -23,7 +23,7 @@ func ListenToRequests(port string) error {
mux.HandleFunc("GET /", handlers.HandleHome)
mux.HandleFunc("POST /login", handlers.HandleFrontLogin)
mux.HandleFunc("GET /room", handlers.HandleRoomEnter)
mux.HandleFunc("GET /join-team", handlers.HandleJoinTeam)
mux.HandleFunc("POST /join-team", handlers.HandleJoinTeam)
//elements
mux.HandleFunc("GET /room/createform", handlers.HandleShowCreateForm)
mux.HandleFunc("GET /room/hideform", handlers.HandleHideCreateForm)