fix: serve favicon.ico -> SVG to prevent 404 errors
This commit is contained in:
@@ -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__":
|
||||||
|
|||||||
Reference in New Issue
Block a user