summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-07-05 12:54:07 +0200
committerGitHub2018-07-05 12:54:07 +0200
commit429257880b4ecfdfb9c07601a6baa1beb84a0adc (patch)
tree0197574b5876baf95edfc3f228ab590636603f4e /lib
parentaf26992b55967e2ef4092453a774cfe046995edc (diff)
parentb7e5a82f52f23039743bf552ad802a8aa3d0f46d (diff)
Merge pull request #890 from hackmdio/fix-csp-for-speaker-notes
Replaces script src hash for speaker note to CSP directives
Diffstat (limited to 'lib')
-rw-r--r--lib/csp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csp.js b/lib/csp.js
index a49c7484..0987df85 100644
--- a/lib/csp.js
+++ b/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-EtvSSxRwce5cLeFBZbvZvDrTiRoyoXbWWwvEVciM5Ag=\'')
+ directives.scriptSrc.push('\'sha256-L0TsyAQLAc0koby5DCbFAwFfRs9ZxesA+4xg0QDSrdI=\'')
}
function getCspNonce (req, res) {