We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad4d0cc commit b1291cbCopy full SHA for b1291cb
packages/angular/build/src/utils/index-file/auto-csp.ts
@@ -135,7 +135,7 @@ export async function autoCsp(html: string): Promise<string> {
135
src: src,
136
type: scriptType,
137
async: getScriptAttributeValue(tag, 'async') !== undefined,
138
- defer: !(getScriptAttributeValue(tag, 'defer') === undefined),
+ defer: getScriptAttributeValue(tag, 'defer') !== undefined,
139
});
140
return; // Skip writing my script tag until we've read it all.
141
}
0 commit comments