Back to blog

From Cloudflare Pages to Workers: the MaynorAI deployment path

A deployment checklist for TanStack Start on Cloudflare Workers with D1, custom domains, HTTPS, and SEO files.

Jul 8, 2026Deploy LogDeploy Log

MaynorAI runs as a dynamic Cloudflare Workers app with D1 for users, roles, configuration, and product data. Workers are a better fit than static Pages when the product needs login, admin pages, and API routes.

Deployment path

  1. Set VITE_APP_URL in .env.production to the production domain.
  2. Configure the Worker name, D1 binding, and runtime vars in wrangler.jsonc.
  3. Apply remote D1 migrations and initialize RBAC roles.
  4. Deploy with pnpm run cf:deploy.
  5. Bind the custom domain and verify HTTP to HTTPS redirects.

SEO files

After launch, verify /robots.txt, /sitemap.xml, /llms.txt, the OG image, and canonical URLs. For AI content sites, llms.txt helps AI crawlers understand the topic and primary pages.