Revert to unsafe inline force by vuejs style loader
https://github.com/vuejs/vue-style-loader/issues/33
This commit is contained in:
parent
2d141d74ed
commit
b13059715d
1 changed files with 3 additions and 2 deletions
|
|
@ -48,9 +48,10 @@ class SecureHeaders
|
|||
"img-src * data:;",
|
||||
"frame-src *;",
|
||||
|
||||
"font-src 'self';",
|
||||
"font-src 'self' https://fonts.gstatic.com;",
|
||||
// ! reverted since https://github.com/vuejs/vue-style-loader/issues/33
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
"style-src 'self' https: 'nonce-$nonce' https://fonts.googleapis.com;",
|
||||
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;",
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
"script-src 'self' https: $jsDev https://cdnjs.cloudflare.com;"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue