Fix: Karte lädt wieder + safe_media_path + Foto-Löschung (SW by-v932)

- map.js: appState→_appState im Template, addEventListener mit ?. (kein Crash ohne Buttons)
- media_utils.py: safe_media_path lstrip-Bug — 'dogs/' wurde zu 'ogs/' gekürzt;
  jetzt korrekte removeprefix-Logik → Altes Hundeprofil-Foto wird jetzt wirklich gelöscht
This commit is contained in:
rene 2026-05-14 11:58:00 +02:00
parent e7b6cb3c33
commit 781e3383bd
5 changed files with 12 additions and 7 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '931'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '932'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app';
// Cache-Bust-Parameter nach Update-Reload sofort entfernen