diff --git a/aksel.nav.no/website/next.config.js b/aksel.nav.no/website/next.config.js index 37cf6de108..2f64b33ff3 100644 --- a/aksel.nav.no/website/next.config.js +++ b/aksel.nav.no/website/next.config.js @@ -14,7 +14,7 @@ const ContentSecurityPolicy = ` style-src 'self' ${dekoratorUrl} ${cdnUrl} ${hotjarUrl} 'unsafe-inline'; connect-src 'self' ${dekoratorUrl} ${cdnUrl} ${hotjarUrl} https://*.hotjar.io wss://*.hotjar.com https://raw.githubusercontent.com/navikt/ https://hnbe3yhs.apicdn.sanity.io wss://hnbe3yhs.api.sanity.io cdn.sanity.io *.api.sanity.io https://amplitude.nav.no https://in2.taskanalytics.com/03346; frame-ancestors 'self' localhost:3000; - media-src 'self' ${cdnUrl} cdn.sanity.io; + media-src 'self' ${cdnUrl} cdn.sanity.io cdn.pixabay.com; frame-src 'self' https://web.microsoftstream.com localhost:3000 https://aksel.ekstern.dev.nav.no; `; diff --git a/aksel.nav.no/website/pages/index.tsx b/aksel.nav.no/website/pages/index.tsx index 48e9454447..f38cad4a6b 100644 --- a/aksel.nav.no/website/pages/index.tsx +++ b/aksel.nav.no/website/pages/index.tsx @@ -207,6 +207,13 @@ const Forside = ({ page, tema, blocks }: PageProps["props"]) => { wind={reducedMotion || pause ? [0, 0] : [-0.2, 0.2]} snowflakeCount={600} /> + {/* eslint-disable-next-line jsx-a11y/media-has-caption */} + )}