From 4d311236357046e30a6df3324cec5806e5087cd3 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 18 Feb 2026 19:48:05 +0000 Subject: [PATCH] Fix orders link: use plain anchor for cross-domain cart navigation The orders link was using links.link macro which adds hx-get, causing htmx:invalidPath because cart.rose-ash.com is cross-origin. Use a plain tag for this cross-domain link instead. Co-Authored-By: Claude Opus 4.6 --- templates/_types/auth/_nav.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/_types/auth/_nav.html b/templates/_types/auth/_nav.html index ffa2730..3d404b8 100644 --- a/templates/_types/auth/_nav.html +++ b/templates/_types/auth/_nav.html @@ -2,6 +2,8 @@ {% call links.link(url_for('auth.newsletters'), hx_select_search, select_colours, True, aclass=styles.nav_button) %} newsletters {% endcall %} -{% call links.link(cart_url('/orders/'), hx_select_search, select_colours, True, aclass=styles.nav_button) %} - orders -{% endcall %} +