generated from nhcarrigan/template
fix: load Google Fonts correctly with strict CSP #77
Reference in New Issue
Block a user
Delete Branch "chore/font"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
fonts.googleapis.cominstyle-srcandfonts.gstatic.cominfont-srcso the browser can load Google Fontsindex.htmlinlineCriticaloptimisation, which was causing the stylesheet to be deferred viaonload="this.media='all'"— an inline event handler blocked by the strictscript-srcCSP, preventing the heading font rules from ever applying to screen mediaTest plan
h1-h6font-family rule is matched✨ This PR was created with help from Hikari~ 🌸