diff --git a/backend/routes/profile.py b/backend/routes/profile.py index 5c07b99..cf1f01b 100644 --- a/backend/routes/profile.py +++ b/backend/routes/profile.py @@ -121,7 +121,7 @@ async def upload_avatar( # ---------------------------------------------------------- import json as _json -@router.get('/profile/world-config') +@router.get('/world-config') async def get_world_config(user=Depends(get_current_user)): with db() as conn: row = conn.execute("SELECT world_config FROM users WHERE id=?", (user['id'],)).fetchone() @@ -132,7 +132,7 @@ async def get_world_config(user=Depends(get_current_user)): class WorldConfigIn(BaseModel): config: dict -@router.put('/profile/world-config') +@router.put('/world-config') async def put_world_config(body: WorldConfigIn, user=Depends(get_current_user)): with db() as conn: conn.execute("UPDATE users SET world_config=? WHERE id=?", diff --git a/backend/static/index.html b/backend/static/index.html index 3a6a546..faa6b22 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -93,9 +93,9 @@ - - - + + +
@@ -562,7 +562,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index f9cab4b..bd21f75 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 = '658'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '659'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.3.0'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; diff --git a/backend/static/sw.js b/backend/static/sw.js index 368ae86..c022eca 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-v658'; +const CACHE_VERSION = 'by-v659'; 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