mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Add arena status websocket API for clients that need realtime match signaling.
This commit is contained in:
@@ -102,6 +102,7 @@ func (web *Web) newHandler() http.Handler {
|
||||
router.HandleFunc("/alliance_selection/reset", web.allianceSelectionResetHandler).Methods("POST")
|
||||
router.HandleFunc("/alliance_selection/start", web.allianceSelectionStartHandler).Methods("POST")
|
||||
router.HandleFunc("/api/alliances", web.alliancesApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/arena/websocket", web.arenaWebsocketApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/matches/{type}", web.matchesApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/rankings", web.rankingsApiHandler).Methods("GET")
|
||||
router.HandleFunc("/api/sponsor_slides", web.sponsorSlidesApiHandler).Methods("GET")
|
||||
|
||||
Reference in New Issue
Block a user