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)
|
||||
|
||||
|
||||
@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__":
|
||||
|
||||
Reference in New Issue
Block a user