Extract script.ajax-setup.html.twig

This commit is contained in:
slawkens
2026-01-03 22:01:58 +01:00
parent 2f0b67f840
commit efef16ee86
2 changed files with 9 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
<script>
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
</script>