remove custom pprof router

This commit is contained in:
Jay 2018-10-11 13:38:09 +08:00
parent bbea6a8fb3
commit a6b8c9ef8a
1 changed files with 1 additions and 4 deletions

View File

@ -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)
}