diff options
author | Christoph (Sheogorath) Kern | 2018-07-05 12:54:07 +0200 |
---|---|---|
committer | GitHub | 2018-07-05 12:54:07 +0200 |
commit | 429257880b4ecfdfb9c07601a6baa1beb84a0adc (patch) | |
tree | 0197574b5876baf95edfc3f228ab590636603f4e | |
parent | af26992b55967e2ef4092453a774cfe046995edc (diff) | |
parent | b7e5a82f52f23039743bf552ad802a8aa3d0f46d (diff) |
Merge pull request #890 from hackmdio/fix-csp-for-speaker-notes
Replaces script src hash for speaker note to CSP directives
-rw-r--r-- | lib/csp.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |