diff --git a/birdwatcher.go b/birdwatcher.go index 1c2a8d1..3910aa4 100644 --- a/birdwatcher.go +++ b/birdwatcher.go @@ -56,10 +56,10 @@ func makeRouter(config endpoints.ServerConfig) *httprouter.Router { r.GET("/routes/count/table/:table", endpoints.Endpoint(endpoints.TableCount)) } if isModuleEnabled("routes_filtered", whitelist) { - r.GET("routes/filtered/:protocol", endpoints.Endpoint(endpoints.RoutesFiltered)) + r.GET("/routes/filtered/:protocol", endpoints.Endpoint(endpoints.RoutesFiltered)) } if isModuleEnabled("routes_prefixed", whitelist) { - r.GET("routes/prefix/:prefix", endpoints.Endpoint(endpoints.RoutesPrefixed)) + r.GET("/routes/prefix/:prefix", endpoints.Endpoint(endpoints.RoutesPrefixed)) } if isModuleEnabled("route_net", whitelist) { r.GET("/route/net/:net", endpoints.Endpoint(endpoints.RouteNet))