mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
New UI merge in progress
This commit is contained in:
@ -7,10 +7,10 @@ package dev
|
||||
import (
|
||||
"net/http/pprof"
|
||||
|
||||
"github.com/go-martini/martini"
|
||||
"github.com/Unknwon/macaron"
|
||||
)
|
||||
|
||||
func RegisterDebugRoutes(r martini.Router) {
|
||||
func RegisterDebugRoutes(r *macaron.Macaron) {
|
||||
r.Any("/debug/pprof/cmdline", pprof.Cmdline)
|
||||
r.Any("/debug/pprof/profile", pprof.Profile)
|
||||
r.Any("/debug/pprof/symbol", pprof.Symbol)
|
||||
|
Reference in New Issue
Block a user