Add nonce to inline script in progress bar

This commit is contained in:
Jan Böhmer 2026-02-02 21:22:06 +01:00
parent d06df4410d
commit 0e5a73b6f4

View file

@ -186,7 +186,7 @@
</div> </div>
{# JavaScript refresh - more reliable than meta refresh #} {# JavaScript refresh - more reliable than meta refresh #}
<script> <script nonce="{{ csp_nonce('script') }}">
setTimeout(function() { setTimeout(function() {
window.location.reload(); window.location.reload();
}, 2000); }, 2000);