Cloudflare Insights CSP allowlist
2026-05-13 · v0.5.7.3 · fix
2026-05-13 · v0.5.7.3 · fix
saperly.com. No more console violations on every page.v0.5.7.3 closes a CSP gap that fired 1 to 4 console violations per page on saperly.com. The fix is a config-only change: two Cloudflare origins added to the script-src and connect-src directives. There is nothing to update on your side. This only affects the marketing site.
https://static.cloudflareinsights.com added to script-src. This is the host that serves beacon.min.js.https://cloudflareinsights.com (apex) added to connect-src. This is the host the beacon POSTs to at /cdn-cgi/rum.The beacon is auto-injected at the Cloudflare edge, only on the production hostname. Staging never proxies through Cloudflare, so post-deploy curl smoke tests against staging looked clean. The violations only surface in a real browser on prod because curl does not execute JavaScript.
docs.saperly.com is hosted by Fern under a separate CSP and is tracked for a future polish pass. The marketing-app fix here does not touch the docs CDN.