mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Re-add removed paths from the recovery PR
This commit is contained in:
@@ -119,7 +119,9 @@ func Handler(props *vault.HandlerProperties) http.Handler {
|
|||||||
mux.Handle("/v1/sys/generate-recovery-token/attempt", handleSysGenerateRootAttempt(core, strategy))
|
mux.Handle("/v1/sys/generate-recovery-token/attempt", handleSysGenerateRootAttempt(core, strategy))
|
||||||
mux.Handle("/v1/sys/generate-recovery-token/update", handleSysGenerateRootUpdate(core, strategy))
|
mux.Handle("/v1/sys/generate-recovery-token/update", handleSysGenerateRootUpdate(core, strategy))
|
||||||
default:
|
default:
|
||||||
// Handle pprof paths
|
// Handle non-forwarded paths
|
||||||
|
mux.Handle("/v1/sys/config/state/", handleLogicalNoForward(core))
|
||||||
|
mux.Handle("/v1/sys/host-info", handleLogicalNoForward(core))
|
||||||
mux.Handle("/v1/sys/pprof/", handleLogicalNoForward(core))
|
mux.Handle("/v1/sys/pprof/", handleLogicalNoForward(core))
|
||||||
|
|
||||||
mux.Handle("/v1/sys/init", handleSysInit(core))
|
mux.Handle("/v1/sys/init", handleSysInit(core))
|
||||||
|
|||||||
Reference in New Issue
Block a user