Merged PR 1035: passing nonce to header

passing nonce to header

Related work items: #9396
This commit is contained in:
Robert Bond
2023-11-29 15:02:01 +00:00
+1 -1
View File
@@ -46,7 +46,7 @@ class MyDocument extends Document {
return ( return (
<Html lang={locale}> <Html lang={locale}>
<Head> <Head nonce={generatedNonce}>
<meta httpEquiv="Content-Security-Policy" content={csp} /> <meta httpEquiv="Content-Security-Policy" content={csp} />
{useGATracking && ( {useGATracking && (
<Tracking <Tracking