diff --git a/next.config.js b/next.config.js index 20c757f..9fbabcc 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ const headers = [ { key: 'Content-Security-Policy', value: - "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'unsafe-eval' 'self' https://static.cloudflareinsights.com; img-src 'self' data:; connect-src 'self' https://vitals.vercel-insights.com https://cloudflareinsights.com", + "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'unsafe-eval' 'self' https://www.googletagmanager.com; img-src 'self' data:; connect-src 'self' https://www.googletagmanager.com https://www.googletagmanager.com", }, { key: 'Referrer-Policy', value: 'origin-when-cross-origin' }, { key: 'X-Frame-Options', value: 'DENY' }, diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 1ef706d..317b2ec 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -12,16 +12,17 @@ export default class MyDocument extends Document { +