Rename healthz label to Статус на услугата; document live URL.

API tab and OpenAPI summary now say status instead of health; docs point to rip.inex-project.net.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-27 10:54:51 +03:00
parent 2e356653d7
commit d323bee712
4 changed files with 14 additions and 6 deletions

View File

@@ -317,7 +317,7 @@ def update_keywords(code: str, body: KeywordsUpdate):
return {"ok": True, "code": code}
@app.get("/healthz")
@app.get("/healthz", summary="Статус на услугата и БД; output_dir_ok, txt_count.")
def healthz():
db_status = "ok"
try: