📚 Subject area/topic
Fonts API
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/fonts/#accessing-font-data-programmatically
📋 Description of content that is out-of-date or incorrect
context.url.origin will resolve to the Astro.site string in astro build production mode. Meaning the font already has to be deployed for this fetch to work. Fix could be to use readfile and stuff rather than involving urls.
Also, it is useful to mention that satori doesn't use woff2 format.
This particular guide is very useful but it has to be bug free and descriptive. Almost everyone wants og image for their blog so that it looks more personalised when shared on the internet.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
📚 Subject area/topic
Fonts API
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/fonts/#accessing-font-data-programmatically
📋 Description of content that is out-of-date or incorrect
context.url.originwill resolve to theAstro.sitestring inastro buildproduction mode. Meaning the font already has to be deployed for this fetch to work. Fix could be to use readfile and stuff rather than involving urls.Also, it is useful to mention that satori doesn't use woff2 format.
This particular guide is very useful but it has to be bug free and descriptive. Almost everyone wants og image for their blog so that it looks more personalised when shared on the internet.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response