INNER CODE UNIT · Python
faq_index
canarybyte/veridrop · web/server.py:224
async def faq_index(request: Request) -> HTMLResponse:
"""Standalone FAQ page — single source of truth in faq_data.py drives
both the rendered HTML and the FAQPage JSON-LD schema in <head>."""
return templates.TemplateResponse(
request,
"faq.html",
{
"categories": FAQ_CATEGORIES,
"total_count": total_question_count(),
"jsonld": json.dumps(faqpage_jsonld(), ensure_ascii=False),
},
)
@app.post("/api/wishlist")
async def api_wishlist(
email: str = Form(...),
protocol: str = Form(...),