{ "name": "zz-maintainer", "main": "src/index.ts", "compatibility_date": "2026-10-01", "compatibility_flags": ["nodejs_compat"], // Explicit, not left to wrangler's default -- adding "routes" below // silently disables the *.workers.dev subdomain unless this is set // (confirmed live: it broke zz-maintainer.thoward37.workers.dev the // moment the route was added). Keeping both live matters right now // specifically because zzmq.dev's DNS isn't provisioned yet, so the // new route serves nothing reachable until that's done. "workers_dev": true, // Both OAuth dashboards (Cloudflare's and Google's, neither in this // repo) were updated to allow the zzmq.dev callback, so this side // was flipped to match. Login now only works from zzmq.dev -- the // old *.workers.dev host breaks unless its redirect URI is also // still registered on both dashboards. "vars": { "CF_OAUTH_REDIRECT_URI": "https://zzmq.dev/auth/callback/cloudflare", "GOOGLE_OAUTH_REDIRECT_URI": "https://zzmq.dev/auth/callback/google" }, "routes": [ // Exact root ("/") belongs to the docs worker's landing page (see // site/wrangler.jsonc) -- everything else on zzmq.dev, including // /explore, is this worker. Cloudflare resolves the more specific // route (the docs worker's exact "/" match) over this wildcard. { "pattern": "zzmq.dev/*", "zone_name": "zzmq.dev" } ], "artifacts": [ { "binding": "ARTIFACTS", "namespace": "zz" } ], "d1_databases": [ { "binding": "DB", "database_name": "zz-accounts", "database_id": "340465c5-bd3b-49cc-878b-fbf8e577b99a" } ], "durable_objects": { "bindings": [ { "name": "MAINTAINER_DO", "class_name": "MaintainerDO" } ] }, "migrations": [ { "tag": "v1", "new_sqlite_classes": ["MaintainerDO"] } ] }