auto-sync: 2026-06-08 22:04:07

This commit is contained in:
cfdaily
2026-06-08 22:04:07 +08:00
parent 0c736fbee2
commit 64755aaf8e
+11
View File
@@ -268,6 +268,17 @@ app.include_router(sse_router)
app.include_router(mail_router)
app.include_router(toolchain_router)
# ---------------------------------------------------------------------------
# 健康检查端点
# ---------------------------------------------------------------------------
@app.get("/api/healthz")
async def healthz():
"""轻量级健康检查,无需认证"""
return {"status": "ok"}
# ---------------------------------------------------------------------------
# 兼容端点
# ---------------------------------------------------------------------------