generated from nhcarrigan/template
fix: load Google Fonts correctly with strict CSP
- Allow fonts.googleapis.com in style-src and fonts.gstatic.com in font-src - Add Google Fonts preconnect links and import (Griffy, Kalam, Creepster, Henny Penny) - Set body font to Kalam and heading font to Griffy - Disable Angular inlineCritical optimisation to prevent deferred CSS loading via onload attribute, which was blocked by the strict script-src CSP
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"optimization": {
|
||||
"styles": {
|
||||
"inlineCritical": false
|
||||
}
|
||||
},
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
|
||||
Reference in New Issue
Block a user