Enha: state to hold room_id instead of whole room
This commit is contained in:
1
main.go
1
main.go
@ -23,6 +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)
|
||||
//elements
|
||||
mux.HandleFunc("GET /room/createform", handlers.HandleShowCreateForm)
|
||||
mux.HandleFunc("GET /room/hideform", handlers.HandleHideCreateForm)
|
||||
|
Reference in New Issue
Block a user