mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-03 00:19:57 -04:00
CSP: Add nonce to slide view inline JS
This commit is contained in:
parent
5d2d3ec875
commit
080436aebb
4 changed files with 11 additions and 2 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue