From a27b8ea5b4e42146f9a4af57194127f6642d666c Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 14 May 2026 11:07:24 +0200 Subject: [PATCH] Fix: P/Z-Badges komplett aus allen Welt-Views entfernt (SW by-v924) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - _renderJetzt: false,false statt f.pro/_isRoleBasedPro/f.role=breeder - _openAllChips: P-Badge entfernt - _isRoleBasedPro() nur noch als ungenutzte Funktion (bleibt für Kompatibilität) --- backend/main.py | 2 +- backend/static/js/app.js | 2 +- backend/static/js/worlds.js | 3 +-- backend/static/sw.js | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/main.py b/backend/main.py index d976d36..60eca50 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 = "923" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "924" # 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 de4bd34..047fb78 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 = '923'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '924'; // ← 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 e312d1e..e032542 100644 --- a/backend/static/js/worlds.js +++ b/backend/static/js/worlds.js @@ -347,7 +347,6 @@ window.Worlds = (() => {
${chips.map(c => `