• v5.3.1 5fabe68944

    iv3jdv released this 2026-11-03 16:56:45 +01:00 | 12 commits to main since this release

    🚑 Release v5.3.1 — Hotfix: Server Update Check & JSON Safety

    Questa micro-release risolve un disallineamento tra frontend e backend che causava un errore 404 silente e un conseguente blocco del parsing JSON nel browser (visibile in console come SyntaxError: JSON.parse: unexpected character).

    🛠️ Fix Applicati

    • API Route Alignment (Backend): Rinominato l'endpoint Python in api_routes.py da /api/server_update/status a /api/server_update/check per far coincidere esattamente la rotta con la chiamata fetch del client.
    • JSON Parse Safety (Frontend): Aggiunta una guardia di sicurezza (if (!res.ok) return;) nella funzione di controllo aggiornamenti in app.js. Ora, se il server o il reverse proxy restituiscono un errore HTML (404, 502, 504), il frontend interrompe l'elaborazione prima di tentare il parsing con res.json(), evitando crash catastrofici del Javascript.
    Downloads