Adding festinger

This commit is contained in:
2026-04-20 18:31:13 +02:00
parent 98b115d471
commit ce82678d14
+7 -3
View File
@@ -2090,9 +2090,13 @@ ADMIN_HTML = """<!DOCTYPE html>
"""
@app.get("/admin", response_class=HTMLResponse)
async def admin() -> str:
return ADMIN_HTML.format()
@app.get("/admin")
async def admin() -> Response:
return Response(
content=ADMIN_HTML.format(),
media_type="text/html",
headers={"Cache-Control": "no-store"},
)
# ---------------------------------------------------------------------------