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
|
// set pprof router
|
||||||
popts := &pprof.Options{
|
pprof.Register(r, nil)
|
||||||
RoutePrefix: "/dev/pprof",
|
|
||||||
}
|
|
||||||
pprof.Register(r, popts)
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user