Backend: - SPA-Fallback: catch-all-Route liefert index.html, falls keine statische Datei matcht (mit Ausnahme von /api/* und /audio/*). Dadurch funktionieren Tiefen- Links wie /ldn oder /neu-denken direkt. Frontend: - loadApp() liest pathname und laedt den passenden Podcast direkt, falls die ID in /api/podcasts vorkommt; sonst klassischer Selector. - selectPodcast() updated den Pfad per history.pushState, damit Bookmarks und Sharing funktionieren. - popstate-Handler reagiert auf Browser-Back/Forward. - showPodcastList() setzt den Pfad auf '/'. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| d3.v7.min.js | ||
| icon-192.png | ||
| icon-512.png | ||
| index.html | ||
| manifest.json | ||
| server.py | ||
| sw.js | ||