2026-05-19 05:28:50 +01:00
|
|
|
{
|
|
|
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
|
|
|
"name": "cio-docs",
|
|
|
|
|
"compatibility_date": "2026-03-13",
|
2026-07-22 22:30:10 +01:00
|
|
|
// Static assets only — no Worker script. The site is prerendered by Blume and
|
|
|
|
|
// packaged into ./build by scripts/package-assets.mjs, which nests it under
|
|
|
|
|
// docs/ so the paths the website proxies through (/docs/*) resolve directly.
|
2026-05-19 05:28:50 +01:00
|
|
|
"assets": {
|
2026-07-22 22:30:10 +01:00
|
|
|
"directory": "./build",
|
|
|
|
|
"not_found_handling": "404-page",
|
|
|
|
|
// Blume's canonical URLs and internal links carry no trailing slash
|
|
|
|
|
// (/docs/home, not /docs/home/), which also matches the URLs the old
|
|
|
|
|
// Fumadocs site served. Without this, Cloudflare's default
|
|
|
|
|
// auto-trailing-slash would 307 every one of them.
|
|
|
|
|
"html_handling": "drop-trailing-slash"
|
2026-05-19 05:28:50 +01:00
|
|
|
},
|
|
|
|
|
"observability": {
|
|
|
|
|
"logs": {
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"invocation_logs": true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|