From 108146670455358b59f2b6d8c84c8bb955140458 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 14 May 2026 10:56:23 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20HUND-Teaser=20zeigt=20nur=20kostenlose?= =?UTF-8?q?=20Features=20=E2=80=94=20Gassi=20durch=20Wurfb=C3=B6rse=20erse?= =?UTF-8?q?tzt=20(SW=20by-v923)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/main.py | 2 +- backend/static/js/app.js | 2 +- backend/static/js/worlds.js | 12 ++++++------ backend/static/sw.js | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/main.py b/backend/main.py index 80db05c..d976d36 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 = "922" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "923" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 6873247..de4bd34 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 = '922'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '923'; // ← 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/worlds.js b/backend/static/js/worlds.js index f4997a0..e312d1e 100644 --- a/backend/static/js/worlds.js +++ b/backend/static/js/worlds.js @@ -1257,12 +1257,12 @@ window.Worlds = (() => { if (!dogs.length) { const features = [ - { icon:'book-open', color:'#8B5CF6', title:'Tagebuch', sub:'Fotos & Erlebnisse' }, - { icon:'heartbeat', color:'#EF4444', title:'Gesundheit', sub:'Impfungen & Gewicht' }, - { icon:'target', color:'#F59E0B', title:'Training', sub:'104 Übungen' }, - { icon:'books', color:'#10B981', title:'Wiki', sub:'Alle Rassen' }, - { icon:'paw-print', color:'#3B82F6', title:'Gassi', sub:'Routen & GPS' }, - { icon:'currency-eur',color:'#06B6D4',title:'Ausgaben', sub:'Budget im Blick' }, + { icon:'book-open', color:'#8B5CF6', title:'Tagebuch', sub:'Fotos & Erlebnisse' }, + { icon:'heartbeat', color:'#EF4444', title:'Gesundheit', sub:'Impfungen & Gewicht' }, + { icon:'target', color:'#F59E0B', title:'Training', sub:'104 Übungen' }, + { icon:'books', color:'#10B981', title:'Wiki', sub:'Alle Rassen' }, + { icon:'scales', color:'#3B82F6', title:'Wurfbörse', sub:'Welpen finden' }, + { icon:'currency-eur', color:'#06B6D4', title:'Ausgaben', sub:'Budget im Blick' }, ]; el.innerHTML = `
diff --git a/backend/static/sw.js b/backend/static/sw.js index a779df7..94c72cb 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-v922'; +const CACHE_VERSION = 'by-v923'; 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