Permalink
Browse files

Merge pull request #1091 from SISheogorath/fix/speakerNotesCSP

Fix CSP for speaker notes
  • Loading branch information...
SISheogorath committed Dec 6, 2018
2 parents b9848a4 + a556575 commit 7f0fe6903c00b479f885cbe7ccbc38804c45aa30
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/csp.js
@@ -71,7 +71,7 @@ function addInlineScriptExceptions (directives) {
directives.scriptSrc.push(getCspNonce)
// TODO: This is the SHA-256 hash of the inline script in build/reveal.js/plugins/notes/notes.html
// Any more clean solution appreciated.
directives.scriptSrc.push('\'sha256-L0TsyAQLAc0koby5DCbFAwFfRs9ZxesA+4xg0QDSrdI=\'')
directives.scriptSrc.push('\'sha256-Lc+VnBdinzYTTAkFrIoUqdoA9EQFeS1AF9ybmF+LLfM=\'')
}
function getCspNonce (req, res) {

0 comments on commit 7f0fe69

Please sign in to comment.