diff --git a/backend/main.py b/backend/main.py index 0d43af7..9753d4f 100644 --- a/backend/main.py +++ b/backend/main.py @@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request): raise _HE(404, "Nicht gefunden.") return _media_response(filepath) -APP_VER = "912" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "913" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): diff --git a/backend/static/index.html b/backend/static/index.html index c170e95..99c47e7 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -591,10 +591,10 @@
- - - - + + + + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 723b0a7..2669571 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '912'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '913'; // ← 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 diff --git a/backend/static/js/pages/zuchthunde.js b/backend/static/js/pages/zuchthunde.js index 281d66d..0d4d96f 100644 --- a/backend/static/js/pages/zuchthunde.js +++ b/backend/static/js/pages/zuchthunde.js @@ -199,6 +199,8 @@ window.Page_zuchthunde = (() => { API.breeder.status().then(s => { _breederId = s?.profile?.id || null; _breederInfo = s?.profile ? { zwingername: s.profile.zwingername, logo_url: s.profile.logo_url } : null; + const h = _container?.querySelector('#breeder-private-header'); + if (h) h.outerHTML = _privateHeader(); }).catch(() => {}), ]); _renderList(); diff --git a/backend/static/sw.js b/backend/static/sw.js index dc5b7cd..f3c05d3 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v912'; +const CACHE_VERSION = 'by-v913'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache