Adding festinger
This commit is contained in:
@@ -2090,9 +2090,13 @@ ADMIN_HTML = """<!DOCTYPE html>
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@app.get("/admin", response_class=HTMLResponse)
|
@app.get("/admin")
|
||||||
async def admin() -> str:
|
async def admin() -> Response:
|
||||||
return ADMIN_HTML.format()
|
return Response(
|
||||||
|
content=ADMIN_HTML.format(),
|
||||||
|
media_type="text/html",
|
||||||
|
headers={"Cache-Control": "no-store"},
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user