| Host | File | What it sets |
|---|---|---|
| Vercel | vercel.json |
pnpm install, pnpm build, output dist, cache headers |
| Netlify | netlify.toml |
pnpm build, publish dist, Node 22, cache headers |
| Cloudflare | wrangler.jsonc |
pnpm build, static assets from dist, 404 page |
public/_headers sets long cache headers for /_astro/* on Cloudflare and Netlify, and .node-version pins Node 22.
Deploy to Cloudflare from your machine with pnpm dlx wrangler deploy.
Set site.url in src/config/config.json to your real domain before going live.