Browse Source

Merge branch 'dev' of github.com:gogits/gogs into dev

pull/283/head
Unknown 11 years ago
parent
commit
9b014d05e4
  1. 8
      routers/debug/debug.go

8
routers/debug/debug.go

@ -9,8 +9,8 @@ import (
) )
func RegisterRoutes(r martini.Router) { func RegisterRoutes(r martini.Router) {
r.Get("/debug/pprof/cmdline", pprof.Cmdline) r.Any("/debug/pprof/cmdline", pprof.Cmdline)
r.Get("/debug/pprof/profile", pprof.Profile) r.Any("/debug/pprof/profile", pprof.Profile)
r.Get("/debug/pprof/symbol", pprof.Symbol) r.Any("/debug/pprof/symbol", pprof.Symbol)
r.Get("/debug/pprof/**", pprof.Index) r.Any("/debug/pprof/**", pprof.Index)
} }

Loading…
Cancel
Save