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:
committed by
M. J. Fromberger
parent
37f5fd2ec1
commit
a3cc7123ff
@@ -0,0 +1,8 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
package tsweb
|
||||
|
||||
func addProfilingHandlers(d *DebugHandler) {
|
||||
// No pprof in js builds, pprof doesn't work and bloats the build.
|
||||
}
|
||||
Reference in New Issue
Block a user