Skip to content

Commit

Permalink
Merge pull request #57 from kudos-ink/fix/connect-src
Browse files Browse the repository at this point in the history
[fix] missing connect-src for GA4
  • Loading branch information
leapalazzolo authored Feb 7, 2024
2 parents aa31e69 + 254e651 commit 2c686c4
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 2c686c4

Please sign in to comment.