diff options
author | Sheogorath | 2018-12-05 11:32:05 +0100 |
---|---|---|
committer | Sheogorath | 2018-12-05 11:32:14 +0100 |
commit | a556575b917174fc6b2d2645019ad0045205398d (patch) | |
tree | 4ef4028d606cf7164dd16563a6690325b7176c41 | |
parent | b40f14f66dd5446c1a2a9b20b3065d5c4726c3a8 (diff) |
Fix CSP for speaker notes
Looks like I was wrong in my previous commit to update revealjs.[1]
The speaker notes broke again with the CSPs. So this patch updates the
hash and this way the speaker notes.
[1]: bcebf1e8d285184f8c905f00e0270621790e7b80
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-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-L0TsyAQLAc0koby5DCbFAwFfRs9ZxesA+4xg0QDSrdI=\'') + directives.scriptSrc.push('\'sha256-Lc+VnBdinzYTTAkFrIoUqdoA9EQFeS1AF9ybmF+LLfM=\'') } function getCspNonce (req, res) { |