# Adapter-only Cloudflare Pages header rules. Keep after broader host rules.
/assets/cal-host.html
  ! Content-Security-Policy
  ! X-Frame-Options
  Content-Security-Policy: default-src 'none'; script-src 'self' https://app.cal.com/embed/embed.js; style-src 'self' 'unsafe-inline'; img-src 'none'; font-src 'none'; connect-src 'none'; frame-src https://cal.com https://app.cal.com; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'self'
  X-Frame-Options: SAMEORIGIN
  X-Robots-Tag: noindex

/assets/cal-host
  ! Content-Security-Policy
  ! X-Frame-Options
  Content-Security-Policy: default-src 'none'; script-src 'self' https://app.cal.com/embed/embed.js; style-src 'self' 'unsafe-inline'; img-src 'none'; font-src 'none'; connect-src 'none'; frame-src https://cal.com https://app.cal.com; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'self'
  X-Frame-Options: SAMEORIGIN
  X-Robots-Tag: noindex
