Skip to content

Commit 5047d86

Browse files
committed
Switch to sha256
1 parent 6e5baef commit 5047d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_scripts/sigFrameConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ const script = rawScript
99

1010
module.exports.sigFrameTemplateParameters = {
1111
sigFrameSrc: `data:text/html,${encodeURIComponent(`<!doctype html><script>${script}</script>`)}`,
12-
sigFrameCspHash: `sha512-${hash('sha512', script, 'base64')}`
12+
sigFrameCspHash: `sha256-${hash('sha256', script, 'base64')}`
1313
}

0 commit comments

Comments
 (0)