Fix: Marker verschwanden offline beim Kartenbewegen — SW-503-JSON als Fehler werten
Der SW beantwortet nicht-cachebare API-GETs offline mit 503 + JSON-Body,
r.json() wirft dann NICHT -> Erfolgs-Pfad ersetzte Marker durch {detail:...}.
_fetchPois prueft jetzt r.ok + Array.isArray, dadurch greift der
IndexedDB-Fallback (MapOffline.pois) in Phase 1 und Phase 2 behaelt den Bestand.
Bump v1224
This commit is contained in:
parent
6af08ab543
commit
e6d6a3e697
6 changed files with 28 additions and 18 deletions
|
|
@ -86,14 +86,14 @@
|
|||
<title>Ban Yaro</title>
|
||||
|
||||
<!-- Theme + theme-color Statusleiste vor CSS setzen -->
|
||||
<script src="/js/boot-early.js?v=1223"></script>
|
||||
<script src="/js/boot-early.js?v=1224"></script>
|
||||
|
||||
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
|
||||
<link rel="stylesheet" href="/css/design-system.css?v=1223">
|
||||
<link rel="stylesheet" href="/css/layout.css?v=1223">
|
||||
<link rel="stylesheet" href="/css/components.css?v=1223">
|
||||
<link rel="stylesheet" href="/css/utilities.css?v=1223">
|
||||
<link rel="stylesheet" href="/css/lists.css?v=1223">
|
||||
<link rel="stylesheet" href="/css/design-system.css?v=1224">
|
||||
<link rel="stylesheet" href="/css/layout.css?v=1224">
|
||||
<link rel="stylesheet" href="/css/components.css?v=1224">
|
||||
<link rel="stylesheet" href="/css/utilities.css?v=1224">
|
||||
<link rel="stylesheet" href="/css/lists.css?v=1224">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
@ -612,11 +612,11 @@
|
|||
<div id="modal-container"></div>
|
||||
|
||||
<!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features -->
|
||||
<script src="/js/api.js?v=1223"></script>
|
||||
<script src="/js/ui.js?v=1223"></script>
|
||||
<script src="/js/app.js?v=1223"></script>
|
||||
<script src="/js/worlds.js?v=1223"></script>
|
||||
<script src="/js/offline-indicator.js?v=1223"></script>
|
||||
<script src="/js/api.js?v=1224"></script>
|
||||
<script src="/js/ui.js?v=1224"></script>
|
||||
<script src="/js/app.js?v=1224"></script>
|
||||
<script src="/js/worlds.js?v=1224"></script>
|
||||
<script src="/js/offline-indicator.js?v=1224"></script>
|
||||
|
||||
<!-- Feature-Seiten werden lazy geladen -->
|
||||
|
||||
|
|
@ -626,7 +626,7 @@
|
|||
|
||||
|
||||
<!-- Boot: Offline-Banner + SW-Registration (extrahiert für CSP) -->
|
||||
<script src="/js/boot.js?v=1223"></script>
|
||||
<script src="/js/boot.js?v=1224"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue