mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
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
Block a user