feat: add canonical weekend context API

This commit is contained in:
AmanTahiliani committed 2026-07-26 09:08:38 -04:00
1 parent c475011c49
commit adfa934f9d
6 files changed
+860 -1

No files matched your search

+1
View File
@@ -62,6 +62,7 @@ func (s *Server) routes() (http.Handler, error) {
// REST API — /api/v1/laps/comparison must be registered before /api/v1/laps
// because Go's ServeMux uses longest-prefix matching.
mux.HandleFunc("/api/v1/weekend-context", s.handleWeekendContext)
mux.HandleFunc("/api/v1/race-hub", s.handleRaceHub)
mux.HandleFunc("/api/v1/seasons", s.handleSeasons)
mux.HandleFunc("/api/v1/weekend", s.handleWeekend)