Vienna

Herwig Teufer

Data Engineer · Bouldering Enthusiast · Hobby Blogger

Wednesday, 11 November 2026 Personal edition teufer.dev

Today I Learned

Small Print

Short notes on things I picked up along the way.

TIL feed

Astro can serve a custom 404 on Cloudflare Workers

Cloudflare Workers static assets return a bare 404 unless you name a page for missing URLs. Setting not_found_handling to 404-page in wrangler.jsonc serves the built dist/404.html.

"assets": {
  "directory": "./dist",
  "not_found_handling": "404-page"
}