Open ecarrara opened 8 months ago
Adds crossOrigin option.
crossOrigin
The crossorigin attribute indicates whether the resource should be fetched with a CORS request as the font may come from a different domain. Without this attribute, the preloaded font is ignored by the browser.
https://web.dev/articles/codelab-preload-web-fonts#preloading_web_fonts
And without crossorigin=anonymous libraries like html-to-image are unable to use the correct font.
crossorigin=anonymous
Visit the deploys page to approve it
Adds
crossOrigin
option.https://web.dev/articles/codelab-preload-web-fonts#preloading_web_fonts
And without
crossorigin=anonymous
libraries like html-to-image are unable to use the correct font.