tsweb: don't hook up pprof handlers in javascript builds

Updates #15160

Signed-off-by: David Anderson <dave@tailscale.com>
This commit is contained in:
David Anderson
2025-03-19 08:34:27 -07:00
committed by M. J. Fromberger
parent 37f5fd2ec1
commit a3cc7123ff
4 changed files with 33 additions and 12 deletions

View File

@@ -15,7 +15,6 @@ import (
"io"
"net"
"net/http"
_ "net/http/pprof"
"net/netip"
"net/url"
"os"