Adding festinger
This commit is contained in:
@@ -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"},
|
||||
)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user