fix : correct api healthz
This commit is contained in:
@@ -38,8 +38,11 @@ formula fixtures. Their guide text and media are not imported or published.
|
||||
| `/admin/[character]/[page]` | Visual page editor |
|
||||
| `/admin/create` | Create a structured guide from the synced character catalog |
|
||||
| `/media/[id]` | Same-origin media response with publication checks |
|
||||
| `/api/health` | Liveness response |
|
||||
| `/api/health?ready=1` | PostgreSQL and Redis readiness response |
|
||||
| `/api/healthz` | PostgreSQL, Redis, Slip2Go, Discord bot, and Lunaris status |
|
||||
|
||||
The comprehensive check returns 503 if any dependency fails. Slip2Go uses a HEAD request to
|
||||
check reachability without submitting a payment slip; it cannot validate the API secret.
|
||||
The Discord check requires a heartbeat from the connected catalog worker within 45 seconds.
|
||||
|
||||
A page is public only when both its page and character are visible. A visible
|
||||
character without a visible page returns 404.
|
||||
|
||||
Reference in New Issue
Block a user