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)
@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__":