Skip to content

Commit b7e5a82

Browse files
committed
Add script src hash for speaker note to CSP directives
Signed-off-by: Max Wu <jackymaxj@gmail.com>
1 parent af26992 commit b7e5a82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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-EtvSSxRwce5cLeFBZbvZvDrTiRoyoXbWWwvEVciM5Ag=\'')
74+
directives.scriptSrc.push('\'sha256-L0TsyAQLAc0koby5DCbFAwFfRs9ZxesA+4xg0QDSrdI=\'')
7575
}
7676

7777
function getCspNonce (req, res) {

0 commit comments

Comments
 (0)