fix: serve favicon.ico -> SVG to prevent 404 errors

This commit is contained in:
2026-07-27 08:17:03 +08:00
parent 8c78393fb5
commit c051fdbfaf
+3 -3
View File
@@ -118,9 +118,9 @@ async def websocket_endpoint(ws: WebSocket):
ws_manager.disconnect(cid) ws_manager.disconnect(cid)
@app.get("/health") @app.get("/favicon.ico")
async def health(): async def favicon():
return {"status": "ok"} return FileResponse(STATIC_DIR / "img" / "favicon.svg")
if __name__ == "__main__": if __name__ == "__main__":