Move missing avatar logic from JavaScript to server.

This commit is contained in:
Patrick Fairbank
2019-09-14 14:00:51 -07:00
parent 969f0f1c80
commit b9e061904f
6 changed files with 31 additions and 15 deletions

View File

@@ -106,6 +106,7 @@ func (web *Web) newHandler() http.Handler {
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")
router.HandleFunc("/api/teams/{teamId}/avatar", web.teamAvatarsApiHandler).Methods("GET")
router.HandleFunc("/display", web.placeholderDisplayHandler).Methods("GET")
router.HandleFunc("/display/websocket", web.placeholderDisplayWebsocketHandler).Methods("GET")
router.HandleFunc("/displays/alliance_station", web.allianceStationDisplayHandler).Methods("GET")