mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
included routes noexport endpoint
This commit is contained in:
parent
fa6ca4e91c
commit
1ec76f2772
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ func makeRouter(config endpoints.ServerConfig) *httprouter.Router {
|
|||
if isModuleEnabled("routes_filtered", whitelist) {
|
||||
r.GET("/routes/filtered/:protocol", endpoints.Endpoint(endpoints.RoutesFiltered))
|
||||
}
|
||||
if isModuleEnabled("routes_noexport", whitelist) {
|
||||
r.GET("/routes/noexport/:protocol", endpoints.Endpoint(endpoints.RoutesNoexport))
|
||||
}
|
||||
if isModuleEnabled("routes_prefixed", whitelist) {
|
||||
r.GET("/routes/prefix", endpoints.Endpoint(endpoints.RoutesPrefixed))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue