move /ping to /healthz
This commit is contained in:
parent
08c09ffee7
commit
1a4a9abbbc
1 changed files with 2 additions and 2 deletions
|
|
@ -78,8 +78,8 @@ func New(enableCORS bool) (*chi.Mux, error) {
|
||||||
r.Mount("/api", appAPI.Router())
|
r.Mount("/api", appAPI.Router())
|
||||||
})
|
})
|
||||||
|
|
||||||
r.Get("/ping", func(w http.ResponseWriter, _ *http.Request) {
|
r.Get("/healthz", func(w http.ResponseWriter, _ *http.Request) {
|
||||||
w.Write([]byte("pong"))
|
w.Write([]byte("ok"))
|
||||||
})
|
})
|
||||||
|
|
||||||
r.Get("/*", SPAHandler("public"))
|
r.Get("/*", SPAHandler("public"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue