Feat: add exit room
This commit is contained in:
1
main.go
1
main.go
@ -30,6 +30,7 @@ func ListenToRequests(port string) error {
|
||||
mux.HandleFunc("GET /start-game", handlers.HandleStartGame)
|
||||
mux.HandleFunc("GET /room-join", handlers.HandleJoinRoom)
|
||||
mux.HandleFunc("POST /give-clue", handlers.HandleGiveClue)
|
||||
mux.HandleFunc("GET /room/exit", handlers.HandleExit)
|
||||
//elements
|
||||
mux.HandleFunc("GET /actionhistory", handlers.HandleActionHistory)
|
||||
mux.HandleFunc("GET /room/createform", handlers.HandleShowCreateForm)
|
||||
|
Reference in New Issue
Block a user