summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorLiterallie2017-10-18 17:48:53 +0200
committerLiterallie2017-10-22 00:03:45 +0200
commit080436aebb4c4681f85cc8bf5d8563832ff8dbdd (patch)
treee83b305f9e628fa82077f656583d05c11574ada9 /public
parent5d2d3ec875310de07fe79ae605dfbc0f1df585c5 (diff)
CSP: Add nonce to slide view inline JS
Diffstat (limited to 'public')
-rw-r--r--public/views/slide.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 7ff5016e..c7dd9898 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -41,7 +41,7 @@
<link rel="stylesheet" href="<%- url %>/css/slide.css">
<!-- Printing and PDF exports -->
- <script>
+ <script nonce="<%= cspNonce %>">
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';