Skip to content

Commit

Permalink
Hotfix. CSP update (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriibudko authored May 31, 2024
1 parent 4763d34 commit b0fcdaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions csp.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ const config = {
'*.google-analytics.com',
'*.doubleclick.net',
'*.googletagmanager.com',
'*.cloudflareinsights.com',
],
'script-src-elem': [
SELF,
'*.google-analytics.com',
'*.doubleclick.net',
'*.googletagmanager.com',
'*.cloudflareinsights.com',
],
// TODO: Move 'unsafe-inline' to dev when the Next.js' bug is resolved
// See more: https://github.com/vercel/next.js/issues/17445
Expand All @@ -31,6 +33,7 @@ const config = {
'*.google-analytics.com',
'*.doubleclick.net',
'*.googletagmanager.com',
'*.cloudflareinsights.com',
],
'connect-src': [
SELF,
Expand All @@ -39,6 +42,7 @@ const config = {
'*.google-analytics.com',
'*.doubleclick.net',
'*.googletagmanager.com',
'*.cloudflareinsights.com',
],
}

Expand Down

0 comments on commit b0fcdaa

Please sign in to comment.