mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-03 11:22:37 +02:00
move to /health and exclude metrics from logging.
This commit is contained in:
parent
e37f5c13ca
commit
8f83089c8e
4 changed files with 8 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue