Fix orders link: use plain anchor for cross-domain cart navigation
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 40s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 40s
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 <a> tag for this cross-domain link instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
{% call links.link(url_for('auth.newsletters'), hx_select_search, select_colours, True, aclass=styles.nav_button) %}
|
{% call links.link(url_for('auth.newsletters'), hx_select_search, select_colours, True, aclass=styles.nav_button) %}
|
||||||
newsletters
|
newsletters
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% call links.link(cart_url('/orders/'), hx_select_search, select_colours, True, aclass=styles.nav_button) %}
|
<div class="relative nav-group">
|
||||||
orders
|
<a href="{{ cart_url('/orders/') }}" class="{{styles.nav_button}}">
|
||||||
{% endcall %}
|
orders
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user