mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
Rewrite integrity as an empty string instead of null, apparently null wasn't working..?
This commit is contained in:
parent
00dc1ab595
commit
8844634c76
1 changed files with 5 additions and 1 deletions
|
@ -142,12 +142,16 @@ export const htmlRules: {
|
||||||
},
|
},
|
||||||
src: ["video", "audio"],
|
src: ["video", "audio"],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
fn: () => "",
|
||||||
|
|
||||||
|
integrity: ["script", "link"],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
fn: () => null,
|
fn: () => null,
|
||||||
|
|
||||||
// csp stuff that must be deleted
|
// csp stuff that must be deleted
|
||||||
nonce: "*",
|
nonce: "*",
|
||||||
integrity: ["script", "link"],
|
|
||||||
csp: ["iframe"],
|
csp: ["iframe"],
|
||||||
credentialless: ["iframe"],
|
credentialless: ["iframe"],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue