There was an error while loading. Please reload this page.
1 parent 4ea50fc commit a7f23c3Copy full SHA for a7f23c3
1 file changed
templates/base_index.html
@@ -64,6 +64,14 @@
64
content="https://assets.ubuntu.com/v1/c17ef7b4-careers-meta-image-resized.png" />
65
{% endif %}
66
67
+ <!--
68
+ Pass the CSP nonce to lite-youtube so the <style> it injects into
69
+ its shadow DOM is allowed by our nonce-based style-src directive.
70
+ Must run before the deferred lite-youtube module upgrades the
71
+ element.
72
+ -->
73
+ <script nonce="{{ csp_nonce }}">window.liteYouTubeNonce = "{{ csp_nonce }}";</script>
74
+
75
{% block extra_metatags %}{% endblock %}
76
77
<link rel="apple-touch-icon"
0 commit comments