aboutsummaryrefslogtreecommitdiff
path: root/web/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'web/server.go')
-rw-r--r--web/server.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/server.go b/web/server.go
index c588696..fc0e526 100644
--- a/web/server.go
+++ b/web/server.go
@@ -50,8 +50,10 @@ func (s *Server) Handler() http.Handler {
handleRoute(mux, "POST /preview/official-climbs", s.handlePreviewOfficialClimb)
handleRoute(mux, "GET /rides/{id}", s.handleRide)
handleRoute(mux, "GET /analytics", s.handleAnalytics)
- handleRoute(mux, "POST /rides/{id}/official-climbs", s.handleCreateOfficialClimb)
+ handleRoute(mux, "GET /climbs", s.handleClimbs)
+ handleRoute(mux, "GET /climbs/{id}", s.handleClimb)
handleRoute(mux, "POST /rides/{id}/categories", s.handleUpdateRideCategories)
+ handleRoute(mux, "POST /rides/{id}/official-climbs", s.handleCreateOfficialClimb)
handleRoute(mux, "GET /data-quality", s.handleDataQuality)
handleRoute(mux, "POST /data-quality/categories", s.handleBulkUpdateCategories)
handleRoute(mux, "GET /sync", s.handleSyncForm)