diff --git a/app.py b/app.py index a3e14f1..e59895f 100644 --- a/app.py +++ b/app.py @@ -46,6 +46,7 @@ async def blog_context() -> dict: ctx["cart_total"] = float(summary.total + summary.calendar_total + summary.ticket_total) # Pre-fetch cross-app HTML fragments concurrently + # (fetch_fragment auto-skips when inside a fragment request to prevent circular deps) user = getattr(g, "user", None) cart_params = {} if ident["user_id"] is not None: @@ -54,7 +55,6 @@ async def blog_context() -> dict: cart_params["session_id"] = ident["session_id"] auth_params = {"email": user.email} if user else {} - nav_params = {"app_name": "blog", "path": request.path} cart_mini_html, auth_menu_html, nav_tree_html = await fetch_fragments([ diff --git a/shared b/shared index 20d3ff8..9ab4b7b 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit 20d3ff842516ffd381a60f49a67b556075422fec +Subproject commit 9ab4b7b3fec5a329d98b6707a3c382ef9b6464c9