This reverts commit 291f91d164
.
Updates #cleanup
This PR needs additional changes to the registration of child handlers under /debug
Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
This commit is contained in:
parent
291f91d164
commit
7c52b27daf
|
@ -46,7 +46,7 @@ func Debugger(mux *http.ServeMux) *DebugHandler {
|
|||
ret := &DebugHandler{
|
||||
mux: mux,
|
||||
}
|
||||
mux.Handle("GET /debug/", ret)
|
||||
mux.Handle("/debug/", ret)
|
||||
|
||||
ret.KVFunc("Uptime", func() any { return varz.Uptime() })
|
||||
ret.KV("Version", version.Long())
|
||||
|
|
Loading…
Reference in New Issue