# Cloudflare Pages reads this file and applies the headers to the response.
# There is no server here, so this is where the security posture lives.

/*
  X-Content-Type-Options: nosniff
  X-Frame-Options: DENY
  Referrer-Policy: strict-origin-when-cross-origin
  Permissions-Policy: geolocation=(), microphone=(), camera=()
  # The pages use one inline <style> and one inline <script>, so 'unsafe-inline'
  # is required for both. Everything else is same-origin only.
  Content-Security-Policy: default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; connect-src 'self'; base-uri 'none'; form-action 'self'; frame-ancestors 'none'

/*.html
  Cache-Control: public, max-age=300

/downloads/*
  Cache-Control: public, max-age=3600
