summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routers/debug/debug.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/routers/debug/debug.go b/routers/debug/debug.go
index c332dbea7d..f61e7d2eeb 100644
--- a/routers/debug/debug.go
+++ b/routers/debug/debug.go
@@ -9,8 +9,8 @@ import (
)
func RegisterRoutes(r martini.Router) {
- r.Get("/debug/pprof/cmdline", pprof.Cmdline)
- r.Get("/debug/pprof/profile", pprof.Profile)
- r.Get("/debug/pprof/symbol", pprof.Symbol)
- r.Get("/debug/pprof/**", pprof.Index)
+ r.Any("/debug/pprof/cmdline", pprof.Cmdline)
+ r.Any("/debug/pprof/profile", pprof.Profile)
+ r.Any("/debug/pprof/symbol", pprof.Symbol)
+ r.Any("/debug/pprof/**", pprof.Index)
}