From dff2afd84b747d5d30729896e6e54aa6d2d01df7 Mon Sep 17 00:00:00 2001 From: Jon Church Date: Sun, 7 Dec 2025 17:11:17 -0500 Subject: [PATCH] add back crossorigin for font preload font-face in the browser will always fetch via crossorigin=anonymous for fonts, TIL. So the preload needs to have crossorigin to match that despite us serving them from our origin --- _headers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_headers b/_headers index ac360983..b60d63b6 100644 --- a/_headers +++ b/_headers @@ -102,7 +102,7 @@ Add resource hints for site-wide font faces. {% for style in family[1] %} {% for href in style[1] %} {% if href contains '.woff2' %} - {% capture hint %}<{{ href }}>; rel=preload; as=font; pr=1.0{% endcapture %} + {% capture hint %}<{{ href }}>; rel=preload; as=font; pr=1.0; crossorigin{% endcapture %} {% assign all = all | push:hint %} {% endif %} {% endfor %}