mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 10:29:31 +00:00
Fix router (#2164)
Closes #2153 This is pretty critical, we'll need 1.0.2 asap
This commit is contained in:
parent
40d12a9e97
commit
4f14c01b5a
|
@ -71,10 +71,6 @@ func Load(noRouteHandler http.HandlerFunc, middleware ...gin.HandlerFunc) http.H
|
|||
base.GET("/healthz", api.Health)
|
||||
}
|
||||
|
||||
e.GET("/metrics", metrics.PromHandler())
|
||||
e.GET("/version", api.Version)
|
||||
e.GET("/healthz", api.Health)
|
||||
|
||||
apiRoutes(base)
|
||||
setupSwaggerConfigAndRoutes(e)
|
||||
|
||||
|
|
Loading…
Reference in a new issue