From c051fdbfaf6f0522469b5999c823789e9515f385 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Mon, 27 Jul 2026 08:17:03 +0800 Subject: [PATCH] fix: serve favicon.ico -> SVG to prevent 404 errors --- app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index daff4f5..40f6f6b 100644 --- a/app.py +++ b/app.py @@ -118,9 +118,9 @@ async def websocket_endpoint(ws: WebSocket): ws_manager.disconnect(cid) -@app.get("/health") -async def health(): - return {"status": "ok"} +@app.get("/favicon.ico") +async def favicon(): + return FileResponse(STATIC_DIR / "img" / "favicon.svg") if __name__ == "__main__":