Add admin favicon

This commit is contained in:
2026-08-03 00:27:56 +03:30
parent e6ee587bf0
commit 9f986255b3
3 changed files with 13 additions and 0 deletions
+5
View File
@@ -51,3 +51,8 @@ def on_shutdown() -> None:
@app.get("/")
def dashboard() -> FileResponse:
return FileResponse(str(_STATIC / "dashboard.html"))
@app.get("/favicon.ico", include_in_schema=False)
def favicon() -> FileResponse:
return FileResponse(str(_STATIC / "favicon.svg"), media_type="image/svg+xml")