Skip to content

Commit

Permalink
fix: allow googletagmanager in CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Nov 2, 2023
1 parent b9155e8 commit c089715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Security headers (from https://www.yagiz.co/securing-your-nextjs-13-application)
const ContentSecurityPolicy = `
default-src 'self' vercel.live;
script-src 'self' 'unsafe-eval' 'unsafe-inline' cdn.vercel-insights.com vercel.live;
script-src 'self' 'unsafe-eval' 'unsafe-inline' cdn.vercel-insights.com vercel.live googletagmanager.com;
style-src 'self' 'unsafe-inline';
img-src * blob: data:;
media-src 'none';
Expand Down

1 comment on commit c089715

@vercel
Copy link

@vercel vercel bot commented on c089715 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.