mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-29 05:29:34 +00:00
Added nonce to scripts to ensure that they are working with enabled CSP
This commit is contained in:
parent
76f3c379b5
commit
90f83273da
1 changed files with 19 additions and 19 deletions
|
|
@ -121,7 +121,7 @@
|
|||
|
||||
{{ form_end(form) }}
|
||||
|
||||
<script>
|
||||
<script nonce="{{ csp_nonce('script') }}">
|
||||
// Function to initialize the field mapping page
|
||||
function initializeFieldMapping() {
|
||||
const suggestions = {{ suggested_mapping|json_encode|raw }};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue