Add admin favicon
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user