Add dollar-sign favicon

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 09:46:25 -07:00
co-authored by Claude Opus 5.5
parent 5700ecff7e
commit ac4aa858ab
4 changed files with 13 additions and 0 deletions
+5
View File
@@ -61,6 +61,11 @@ app.include_router(router)
app.mount("/static", StaticFiles(directory=STATIC), name="static")
@app.get("/favicon.ico", include_in_schema=False)
def favicon():
return FileResponse(STATIC / "favicon.svg", media_type="image/svg+xml")
def _signed_in(request: Request) -> bool:
token = request.cookies.get(auth.SESSION_COOKIE)
return bool(token and auth._session_user(token))