Skip to content

Commit

Permalink
Merge pull request #1036 from redpanda-data/nf/pprof-loopback-2
Browse files Browse the repository at this point in the history
pprof: fix configuration of internal routes
  • Loading branch information
nicolaferraro authored Jan 25, 2024
2 parents 1cf3736 + b90bad2 commit 99100c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/pkg/api/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ func (api *API) routes() *chi.Mux {
// Debug routes
if api.Cfg.REST.Debug.Enabled {
router.Group(func(r chi.Router) {
api.Hooks.Route.ConfigInternalRouter(r)
if api.Cfg.REST.Debug.ForceLoopback {
r.Use(forceLoopbackMiddleware(api.Logger))
}
Expand Down

0 comments on commit 99100c3

Please sign in to comment.