From 5f71e04b41a3b7f16b2071f8b45764b11b5af4c2 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 22 Mar 2021 19:13:19 +0000 Subject: [PATCH] Remove pprof endpoint exposure --- web/web.go | 1 - 1 file changed, 1 deletion(-) diff --git a/web/web.go b/web/web.go index 639617a8..ff3b4004 100644 --- a/web/web.go +++ b/web/web.go @@ -30,7 +30,6 @@ func Setup(opts *cnf.Options) (err error) { s := fibre.Server() routes(s) - s.Pprof() s.SetName("web") s.SetIdleTimeout("5s") s.SetReadTimeout("30s")