mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-11 03:59:35 +00:00
Add nonce to inline script in progress bar
This commit is contained in:
parent
d06df4410d
commit
0e5a73b6f4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue