aboutsummaryrefslogtreecommitdiff
path: root/web/server.go
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-23 21:35:59 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-23 21:35:59 +0200
commit08fdd6964fd9ef29356420b035e2d186546f674a (patch)
tree812565b5ca57405a5b36b2d7edfab983f6f079d4 /web/server.go
parent2d8503cafb9f63ca4cb63f041281987f9a63f16a (diff)
Add hardcore ride categorisation with bike and ride types
Diffstat (limited to 'web/server.go')
-rw-r--r--web/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/server.go b/web/server.go
index 26dbb06..687fc8d 100644
--- a/web/server.go
+++ b/web/server.go
@@ -48,6 +48,7 @@ func (s *Server) Handler() http.Handler {
handleRoute(mux, "GET /rides/{id}", s.handleRide)
handleRoute(mux, "GET /analytics", s.handleAnalytics)
handleRoute(mux, "POST /rides/{id}/official-climbs", s.handleCreateOfficialClimb)
+ handleRoute(mux, "POST /rides/{id}/categories", s.handleUpdateRideCategories)
handleRoute(mux, "GET /sync", s.handleSyncForm)
handleRoute(mux, "POST /sync", s.handleSync)
handleRoute(mux, "GET /strava/login", s.handleStravaLogin)