Skip to content

Commit

Permalink
Zaraz requires CSP adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
chadokruse committed Mar 6, 2024
1 parent bb22071 commit fa530e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const config = {
csp: {
mode: 'auto',
directives: {
'script-src': ['self', 'https://static.cloudflareinsights.com', 'https://cdn.iubenda.com'], // Hashes will be added automatically
'script-src': ['self', 'https://static.cloudflareinsights.com', 'https://cdn.iubenda.com', 'unsafe-inline'], // The unsafe-inline requirement is for Zaraz, a known CF issue required for now - Hashes will be added automatically
'style-src': ['self', 'unsafe-inline', 'https://cdn.iubenda.com'], // Include 'unsafe-inline' for inline styles
'frame-src': ['https://www.iubenda.com'],
'connect-src': ['self', 'https://cloudflareinsights.com'],
Expand Down

0 comments on commit fa530e8

Please sign in to comment.