diff --git a/plugins/festinger/festinger/main.py b/plugins/festinger/festinger/main.py index a473440..6028db2 100644 --- a/plugins/festinger/festinger/main.py +++ b/plugins/festinger/festinger/main.py @@ -2090,9 +2090,13 @@ ADMIN_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"}, + ) # ---------------------------------------------------------------------------