fix debug handler in proxy
This commit is contained in:
parent
de3c3b27b2
commit
b2980aecb7
@ -40,8 +40,9 @@ func New(name string, p proxy.Proxy) *Server {
|
||||
// only register this once
|
||||
once.Do(func() {
|
||||
server.DefaultRouter.Handle(
|
||||
// inject the debug handler
|
||||
server.DefaultRouter.NewHandler(
|
||||
handler.DefaultHandler,
|
||||
handler.NewHandler(),
|
||||
server.InternalHandler(true),
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user