Skip to content

Commit

Permalink
fix: google tag manager content security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
BohdanK-W32 committed Feb 23, 2024
1 parent 9ba7afc commit 428903b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const nextConfig = {
style-src 'self' 'unsafe-inline';
script-src 'self' 'report-sample' ${
process.env.NODE_ENV === 'development' ? "'unsafe-eval' " : ''
}https://api.mapbox.com https://connect.facebook.net https://va.vercel-scripts.com https://vitals.vercel-insights.com;
}https://api.mapbox.com https://connect.facebook.net https://va.vercel-scripts.com https://vitals.vercel-insights.com https://www.googletagmanager.com;
img-src 'self' data: ${process.env.NEXT_PUBLIC_CMS_URL};
font-src 'self';
object-src 'none';
Expand All @@ -65,7 +65,7 @@ const nextConfig = {
frame-ancestors 'self' ${process.env.NEXT_PUBLIC_CMS_URL};
connect-src 'self' *.mapbox.com ${
process.env.NEXT_PUBLIC_CMS_URL
} https://connect.facebook.net https://va.vercel-scripts.com https://vitals.vercel-insights.com;
} https://connect.facebook.net https://va.vercel-scripts.com https://vitals.vercel-insights.com https://www.googletagmanager.com;
manifest-src 'self';
base-uri 'self';
form-action 'self';
Expand Down

0 comments on commit 428903b

Please sign in to comment.