There was an error while loading. Please reload this page.
2 parents c67d60e + 1b061ab commit 6f23b4bCopy full SHA for 6f23b4b
1 file changed
templates/base_index.html
@@ -70,7 +70,7 @@
70
Must run before the deferred lite-youtube module upgrades the
71
element.
72
-->
73
- <script>window.liteYouTubeNonce = "{{ csp_nonce }}";</script>
+ <script nonce="{{ csp_nonce }}">window.liteYouTubeNonce = {{ csp_nonce | tojson }};</script>
74
75
{% block extra_metatags %}{% endblock %}
76
0 commit comments