Skip to content

Commit 7f0fe69

Browse files
authored
Merge pull request #1091 from SISheogorath/fix/speakerNotesCSP
Fix CSP for speaker notes
2 parents b9848a4 + a556575 commit 7f0fe69

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)