Skip to content

Commit

Permalink
Prevent sonarcloud warning integrity bundle dev
Browse files Browse the repository at this point in the history
  • Loading branch information
smdsgn committed Oct 14, 2024
1 parent 2d505fc commit 4aaee5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/templates/project/layout/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ <h1 id="fr-modal-title-modal-1" class="fr-modal__title">Modifier la période d'a
{% sri_static "bootstrap522/js/bootstrap.bundle.min.js" %}
<!-- Webpack Bundle JS -->
{% if debug %}
<script src="http://localhost:3000/assets/scripts/bundle.dev.js" nonce="[NONCE_PLACEHOLDER]"></script>
<!-- sonarignore:start -->
<script src="http://localhost:3000/assets/scripts/bundle.dev.js"></script>
<!-- sonarignore:end -->
{% else %}
<script src="{% static 'assets/scripts/bundle.prod.js' %}"></script>
{% endif %}
Expand Down

0 comments on commit 4aaee5e

Please sign in to comment.