# book.ramphearth.com — the public booking page (§EI, docs/BOOKING_LINKS_PLAN.md §3 / §10.4), Cloudflare Pages.
#
# Anyone on the internet opens these pages, so the policy is the strictest we have: our own origin and the API, no
# third-party origin of any kind (no analytics, fonts, captcha or frames), no inline script, no eval.
#  connect-src    the API only (credentials omitted on every call). The API allows this origin from BOOKING_PUBLIC_URL,
#                 uncredentialed and on /public/booking/ only — never put it in ALLOWED_ORIGINS.
#  img-src        data:/blob: are the .ics download and inline marks; profile photos (BK2) come from the API.
#  style-src      'unsafe-inline': React style props and the pre-boot <style> in index.html.
#  frame-ancestors 'none' everywhere except /embed/* (BK2): the compact view a workspace puts on its own website, so any
#                 site may frame it. The app's own origin keeps 'none' on /book/embed/ too — embedding needs this site.
/*
  Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' https://api.ramphearth.com data: blob:; connect-src https://api.ramphearth.com; font-src 'self' data:; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'
  Strict-Transport-Security: max-age=31536000; includeSubDomains
  X-Content-Type-Options: nosniff
  Referrer-Policy: strict-origin-when-cross-origin
  X-Frame-Options: DENY
  Permissions-Policy: microphone=(), camera=(), display-capture=(), fullscreen=(self), autoplay=(), geolocation=(), payment=(), usb=(), serial=(), hid=(), bluetooth=(), midi=(), magnetometer=(), gyroscope=(), accelerometer=(), browsing-topics=()
  X-Robots-Tag: noindex
/embed/*
  ! Content-Security-Policy
  ! X-Frame-Options
  Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' https://api.ramphearth.com data: blob:; connect-src https://api.ramphearth.com; font-src 'self' data:; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors *
/assets/*
  Cache-Control: public, max-age=31536000, immutable
