Skip to content

Commit

Permalink
fix: missing connect-src for GA4
Browse files Browse the repository at this point in the history
  • Loading branch information
leapalazzolo committed Feb 7, 2024
1 parent aa31e69 commit 254e651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const cspHeader = `
default-src 'self';
connect-src https://www.google-analytics.com/;
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://va.vercel-scripts.com/ https://www.google-analytics.com/ https://tagmanager.google.com/ https://www.googletagmanager.com/;
style-src 'self' 'unsafe-inline';
img-src 'self' https://avatars.githubusercontent.com/ blob: data:;
Expand Down

0 comments on commit 254e651

Please sign in to comment.