# Cloudflare Pages custom headers.
# https://developers.cloudflare.com/pages/configuration/headers/
# Applied to static assets. The only Pages Function is /api/subscribe (functions/api/subscribe.ts).

/*
  X-Content-Type-Options: nosniff
  X-Frame-Options: DENY
  Referrer-Policy: strict-origin-when-cross-origin
  Permissions-Policy: accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
  Content-Security-Policy: default-src 'self'; script-src 'self' https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline'; font-src 'self'; img-src 'self' data:; connect-src 'self' https://cloudflareinsights.com; form-action 'self' https://app.kit.com https://app.convertkit.com; base-uri 'self'; frame-ancestors 'none'; object-src 'none'
  Cross-Origin-Opener-Policy: same-origin
  Cache-Control: public, max-age=0, must-revalidate

/_astro/*
  Cache-Control: public, max-age=31536000, immutable

/fonts/*
  Cache-Control: public, max-age=31536000, immutable

/og.png
  Cache-Control: public, max-age=86400

/logo.png
  Cache-Control: public, max-age=86400

/favicon.svg
  Cache-Control: public, max-age=86400

/apple-touch-icon.png
  Cache-Control: public, max-age=86400

/downloads/*
  X-Robots-Tag: noindex
  Cache-Control: public, max-age=0, must-revalidate

/downloads/TDK-Charge-Out-Rate-Check.xlsx
  X-Robots-Tag: noindex
  Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  Content-Disposition: attachment; filename="TDK-Charge-Out-Rate-Check.xlsx"

/downloads/TDK-BAS-Quarter-Checklist.pdf
  X-Robots-Tag: noindex
  Content-Type: application/pdf
  Content-Disposition: attachment; filename="TDK-BAS-Quarter-Checklist.pdf"
