Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Correctly route pprof endpoint (#1527)
Miccah69515bb7acf5
diff --git a/main.go b/main.goindex 6211ddd8c..d89b977d4 100644--- a/main.go+++ b/main.go@@ -207,7 +207,7 @@ func run(state overseer.State) {if *profile {go func() {router := http.NewServeMux()- router.Handle("/debug/pprof", http.DefaultServeMux)+ router.Handle("/debug/pprof/", http.DefaultServeMux)router.Handle("/debug/fgprof", fgprof.Handler())logger.Info("starting pprof and fgprof server on :18066 /debug/pprof and /debug/fgprof")if err := http.ListenAndServe(":18066", router); err != nil {