Rewrite integrity as an empty string instead of null, apparently null wasn't working..?

This commit is contained in:
wearrrrr 2024-11-04 12:38:37 -06:00
parent 00dc1ab595
commit 8844634c76

View file

@ -142,12 +142,16 @@ export const htmlRules: {
},
src: ["video", "audio"],
},
{
fn: () => "",
integrity: ["script", "link"],
},
{
fn: () => null,
// csp stuff that must be deleted
nonce: "*",
integrity: ["script", "link"],
csp: ["iframe"],
credentialless: ["iframe"],
},