Skip to content

Commit a556575

Browse files
committed
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]: bcebf1e Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
1 parent b40f14f commit a556575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/csp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function addInlineScriptExceptions (directives) {
7171
directives.scriptSrc.push(getCspNonce)
7272
// TODO: This is the SHA-256 hash of the inline script in build/reveal.js/plugins/notes/notes.html
7373
// Any more clean solution appreciated.
74-
directives.scriptSrc.push('\'sha256-L0TsyAQLAc0koby5DCbFAwFfRs9ZxesA+4xg0QDSrdI=\'')
74+
directives.scriptSrc.push('\'sha256-Lc+VnBdinzYTTAkFrIoUqdoA9EQFeS1AF9ybmF+LLfM=\'')
7575
}
7676

7777
function getCspNonce (req, res) {

0 commit comments

Comments
 (0)