Fix erreur directive Content Security Policy fonts.googleapis.com #3180
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
La configuration d’origine (ancienne) ne contenait pas fonts.gstatic.com, alors que ce domaine est utilisé par certains plugins, par exemple zwavejs via
plugins/zwavejs/resources/zwave-js-ui/node_modules/workbox-recipes/build/workbox-recipes.dev.js
et
plugins/zwavejs/resources/zwave-js-ui/node_modules/workbox-recipes/googleFontsCache.js.
ce qui produisait l'erreur suivante dans le centre de messages:<<Erreur de directive Content Security Policy sur la ressource "https://fonts.googleapis.com/css?...">>
Description
Suggested changelog entry
Related issues/external references
Fixes #
Types of changes
[X] Bug fix (non-breaking change which fixes)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change is only breaking for integrators, not for external standards or end-users.
[ ] Documentation improvement
PR checklist
[ ] I have checked there is no other PR open for the same change.
[ ] I have read the [La ligne directrice pour contribuer à ce projet / Contribution guidelines for this project
).
[X] I grant the project the right to include and distribute the code under the GNU.
[ ] I have added tests to cover my changes. (not applicable: Apache CSP template change)
[ ] I have verified that the code complies with the projects coding standards.
[ ] [Required for new sniffs] I have added MD documentation for the sniff. (not applicable)