INNER CODE UNIT · Python
healthz
canarybyte/veridrop · web/server.py:652
async def healthz() -> JSONResponse:
return JSONResponse({"ok": True, "ts": time.time()})
# SEO + AI GEO surface — see docs/SEO_AI_GEO_PLAN.md §3.1.A/B/C. These three
# files MUST be served at site root (not under /static) for crawlers to find
# them by convention.
@app.get("/robots.txt")
async def robots_txt() -> Response:
return Response(
content=(STATIC_DIR / "robots.txt").read_bytes(),
media_type="text/plain; charset=utf-8",
headers={"Cache-Control": "public, max-age=3600"},
)
@app.get("/llms.txt")
async def llms_txt() -> Response: