Expose debug API with pprof

Runs along the provisioning API with same authentication.
This commit is contained in:
Toni Spets
2023-12-05 12:09:11 +02:00
committed by Toni Spets
parent c013873d1c
commit 643d4c6e39
4 changed files with 14 additions and 2 deletions

View File

@@ -113,6 +113,7 @@ func DoUpgrade(helper *up.Helper) {
} else {
helper.Copy(up.Str, "bridge", "provisioning", "shared_secret")
}
helper.Copy(up.Bool, "bridge", "provisioning", "debug_endpoints")
helper.Copy(up.Map, "bridge", "permissions")
//helper.Copy(up.Bool, "bridge", "relay", "enabled")