Skip to content

Commit b2fe78a

Browse files
authored
1257: allow cloudflare insights on all environments in CSP (#1440)
part of issue: [1257](RaspberryPiFoundation/digital-editor-issues#1257) Part of the CSP work - notice that we get CSP on the testing and staging environments for cloudflare insights code <img width="647" height="72" alt="missing-CSP-for cloudflare-insights" src="https://github.com/user-attachments/assets/d7de79a4-dc3b-485b-983e-de1b984152c8" /> This change will allow that to be loaded and execute
1 parent 4187d71 commit b2fe78a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scratch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
default-src 'self';
1010
base-uri 'none';
1111
object-src 'none';
12-
script-src 'self' 'unsafe-inline' 'unsafe-eval';
12+
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://static.cloudflareinsights.com;
1313
style-src 'self' 'unsafe-inline';
1414
worker-src 'self' blob:;
1515
child-src 'self' blob:;

0 commit comments

Comments
 (0)