diff --git a/backend/main.py b/backend/main.py index 608fca1..5730c91 100644 --- a/backend/main.py +++ b/backend/main.py @@ -300,6 +300,14 @@ if PUBLIC_DIR.exists(): app.mount("/static", StaticFiles(directory=PUBLIC_DIR), name="public") +@app.get("/jellomator.png") +def root_icon(): + icon = PUBLIC_DIR / "jellomator.png" + if not icon.exists(): + raise HTTPException(404, "Not found") + return FileResponse(icon) + + @app.get("/{path:path}") def spa(path: str): if path.startswith("api/"):