Skip to content

Commit

Permalink
fix: ajout d'une règle CSP pour afficher les images du S3 Scaleway
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarius committed Dec 20, 2024
1 parent de01b7c commit ba43654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions impact/impact/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@
"data:", # some images are defined this way
# matomo :
"stats.beta.gouv.fr",
# S3 scaleway :
"sites-faciles.s3.fr-par.scw.cloud",
],
"style-src": [
SELF,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h3 class="fr-accordion__title">
<button class="fr-accordion__btn" aria-expanded="false" aria-controls="accordion-114">Consulter le logigramme</button>
</h3>
<div class="fr-collapse" id="accordion-114">
<img class="fr-responsive-img" src="https://sites-faciles.s3.fr-par.scw.cloud/sites-faciles/images/processus-decision-point-de-donnee.original.svg" alt="">
<img class="fr-responsive-img" src="https://sites-faciles.s3.fr-par.scw.cloud/sites-faciles/images/processus-decision-point-de-donnee.original.svg" alt="logigramme">
</div>
</section>
</div>
Expand Down

0 comments on commit ba43654

Please sign in to comment.