fix(system): expose only GET /api/healthz

Remove /healthz and /api/health so the process advertises a single probe at /api/healthz with {status: ok}.
This commit is contained in:
ryan
2026-08-30 16:41:07 +08:00
parent 12b4c3e54c
commit 6553ac7782
3 changed files with 21 additions and 52 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ func (p *Plugin) Apply(ctx *core.Context) error {
"/api/v1/user/send-email-code",
"/api/v1/cap/challenge",
"/api/v1/cap/redeem",
"/healthz",
"/api/healthz",
"/metrics",
}
RegisterWhitelist(publicEndpoints...)