diff options
author | Max Wu | 2018-07-05 17:35:21 +0800 |
---|---|---|
committer | Max Wu | 2018-07-05 18:41:27 +0800 |
commit | b7e5a82f52f23039743bf552ad802a8aa3d0f46d (patch) | |
tree | 0197574b5876baf95edfc3f228ab590636603f4e /lib | |
parent | af26992b55967e2ef4092453a774cfe046995edc (diff) |
Add script src hash for speaker note to CSP directives
Signed-off-by: Max Wu <jackymaxj@gmail.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-EtvSSxRwce5cLeFBZbvZvDrTiRoyoXbWWwvEVciM5Ag=\'') + directives.scriptSrc.push('\'sha256-L0TsyAQLAc0koby5DCbFAwFfRs9ZxesA+4xg0QDSrdI=\'') } function getCspNonce (req, res) { |