mdcms/app
Claude b9410d4b88
Fix two bugs: SPA-routing page load failure and stale service worker
fetchPageFile now rejects text/html responses so servers with SPA routing
(e.g. Cloudflare Pages with /* /index.html 200) no longer trick the renderer
into treating a fallback index.html as a found markdown file. Category-variant
pages (page.current.md with no plain page.md) now fall through correctly to
their variant URL.

mdcms build now writes a self-unregistering service-worker.js when pwa: no,
evicting any stale caching worker left over from a previous pwa: yes build.
manifest.json is also removed when pwa: no.

https://claude.ai/code/session_01Xs5GyREFhjWxhS1UhW2wA8
2026-05-19 14:55:51 +00:00
..
assets New standard favicon added. 2026-05-19 15:52:06 +07:00
pages Phase 7 test setup: PWA config, sample pages, test_phase.py wiring 2026-05-17 19:11:33 +00:00
posts Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
config.yml Add full Apache 2.0 licence notice to all relevant files 2026-05-18 07:11:00 +00:00
index.html Fix two bugs: SPA-routing page load failure and stale service worker 2026-05-19 14:55:51 +00:00
manifest.json Add M favicon, fix manifest for PWA installability 2026-05-17 20:33:00 +00:00
nav.yml Rebuild nav.yml and search.json for phase7 test pages 2026-05-17 20:33:17 +00:00
search.json Rebuild nav.yml and search.json for phase7 test pages 2026-05-17 20:33:17 +00:00
service-worker.js Add M favicon, fix manifest for PWA installability 2026-05-17 20:33:00 +00:00
theme.yml Add configurable nav section toggle icons 2026-05-18 15:08:59 +00:00