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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user