Éviter l'indexation pour la recherche dans les scripts Osuny quand celle-ci n'est pas détectée #948
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.
Type
Description
En se basant sur la présence de
wasm-unsafe-evaldans la config CSP du fichierpublic/error.htmltoujours présent dans les sites Osuny (par défaut en tout cas), on peut définir si la recherche est active ou non et donc si l'indexation est nécessaire. C'est du hack, donc à discuter tranquillement.J'en profite pour supprimer le script
percy-buildqui, à mon avis, est obsolète mais à vérifierNiveau d'incidence
Référence (ticket et/ou figma)
URL de test sur example.osuny.org
[branch]--example.osuny.netlify.app
URL de test du site (optionnel)
Screenshots