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