{ "$schema": "node_modules/wrangler/config-schema.json", "name": "zzbin-docs", "compatibility_date": "2026-10-05", "assets": { "directory": "./builds/current" }, "routes": [ // zzbin.dev stays live (not torn down as part of this migration -- // that's a separate decision). Single-origin split on zzmq.dev: // this worker owns the bare root ("/", the landing page) and // everything under /docs/*; zz-maintainer owns the rest (/explore, // /login, //, ...) via its own zzmq.dev/* route. // Both are classic routes, not custom_domain (custom_domain claims // a whole hostname exclusively, which doesn't work when two // workers share one zone by path) -- Cloudflare resolves the more // specific pattern over the wildcard. { "pattern": "zzbin.dev", "custom_domain": true }, { "pattern": "zzmq.dev/", "zone_name": "zzmq.dev" }, // "/docs/*" doesn't match "/docs" with no trailing slash -- the // exact route below covers that so the _redirects rule (which // sends it to /docs/overview/) actually gets a chance to run. { "pattern": "zzmq.dev/docs", "zone_name": "zzmq.dev" }, { "pattern": "zzmq.dev/docs/*", "zone_name": "zzmq.dev" } ] }