move to /health and exclude metrics from logging.

This commit is contained in:
Miroslav Šedivý 2022-07-04 18:09:47 +02:00
parent e37f5c13ca
commit 8f83089c8e
4 changed files with 8 additions and 8 deletions

View file

@ -57,11 +57,6 @@ func (api *ApiManagerCtx) Route(r types.Router) {
r.Route(path, router)
}
})
r.Get("/health", func(w http.ResponseWriter, r *http.Request) error {
_, err := w.Write([]byte("true"))
return err
})
}
func (api *ApiManagerCtx) Authenticate(w http.ResponseWriter, r *http.Request) (context.Context, error) {