# Cloudflare Pages redirects and rewrites
# This file handles SPA routing and URL rewrites (replaces vercel.json rewrites)

# Specific route rewrites (matching vercel.json)
# Handle both with and without trailing slashes
/board/*    /index.html   200
/board      /index.html   200
/board/     /index.html   200
/inbox      /index.html   200
/inbox/     /index.html   200
/contact    /index.html   200
/contact/   /index.html   200
/presentations    /index.html   200
/presentations/   /index.html   200
/presentations/*  /index.html   200
/dashboard  /index.html   200
/dashboard/ /index.html   200
/login      /index.html   200
/login/     /index.html   200
/debug      /index.html   200
/debug/     /index.html   200

# SPA fallback - all routes should serve index.html (must be last)
/*    /index.html   200

