// Docs Worker — the Blume site, built by `blume build` with the `cloudflare()` // deploy adapter (blume.config.ts) and shipped by `wrangler deploy` from this // directory. Blume's build merges this file into dist/server/wrangler.json // (main, assets, the text/markdown negotiation wrapper) and writes the // .wrangler/deploy/ redirect wrangler follows, so only what Blume cannot // know lives here: the Worker's name and its domain. { "$schema": "node_modules/wrangler/config-schema.json", "name": "prdcs-wiki", "compatibility_date": "2026-08-24", "observability": { "enabled": true }, // prdcs.wiki is a zone on the same Cloudflare account; `custom_domain` // makes wrangler create the DNS record and certificate on deploy. "routes": [{ "pattern": "prdcs.wiki", "custom_domain": true }], "workers_dev": false, // Blume writes every page as /index.html and links it without the // slash; Cloudflare's default would answer `/x` with a 307 to `/x/` on any // path the static layer serves ahead of the Worker. "assets": { "html_handling": "drop-trailing-slash" } }