Add nonce to scripts

This commit is contained in:
James Cole 2023-08-13 07:30:19 +02:00
parent 499720df46
commit 4d156870ef
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="color-scheme" content="light dark"> <meta name="color-scheme" content="light dark">
<script type="text/javascript"> <script type="text/javascript" nonce="{{ $JS_NONCE }}">
/*! /*!
* Color mode toggler for Bootstrap's docs (https://getbootstrap.com/) * Color mode toggler for Bootstrap's docs (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors * Copyright 2011-2023 The Bootstrap Authors

View File

@ -1,3 +1,3 @@
<!--begin::Required Plugin(AdminLTE)--> <!--begin::Required Plugin(AdminLTE)-->
<script src="v2/js/adminlte.js"></script> <script src="v2/js/adminlte.js" nonce="{{ $JS_NONCE }}"></script>
<!--end::Required Plugin(AdminLTE)--> <!--end::Required Plugin(AdminLTE)-->