remove custom pprof router
This commit is contained in:
parent
bbea6a8fb3
commit
a6b8c9ef8a
@ -105,8 +105,5 @@ func SetRoutes(r *gin.Engine) {
|
||||
}
|
||||
|
||||
// set pprof router
|
||||
popts := &pprof.Options{
|
||||
RoutePrefix: "/dev/pprof",
|
||||
}
|
||||
pprof.Register(r, popts)
|
||||
pprof.Register(r, nil)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user