debug: route statsviz through tsweb.Protected
Build the statsviz Server directly and wrap its Index/Ws handlers in tsweb.Protected instead of calling statsviz.Register on the raw mux which bypasses AllowDebugAccess.
K
Kristoffer Dalby committed
d5a4e6e36a8db6d2e15223d97023cc7a0034f812
Parent: 8c6cb05