diff --git a/backend/endpoints/geo_access.py b/backend/endpoints/geo_access.py index 157db6f..c7972cd 100644 --- a/backend/endpoints/geo_access.py +++ b/backend/endpoints/geo_access.py @@ -39,7 +39,7 @@ async def get_geo_access_real(request: GeoAccessRequest): # Centro del controllo geografico (Lido di Bolzano) CENTER_LAT = 46.68349 CENTER_LON = 11.19043 - RADIUS_METERS = 500 + RADIUS_METERS = 2000 # Creo il checker per il cerchio di 50 metri from geo_access import CircleChecker diff --git a/testing/script.js b/testing/script.js index 9cddcd5..f3de589 100644 --- a/testing/script.js +++ b/testing/script.js @@ -123,7 +123,7 @@ async function checkGPSLocation() { if (response.ok) { const result = data.success ? '✅ DENTRO' : '❌ FUORI'; - showStatus(`${result} - Sei ${data.success ? 'dentro' : 'fuori'} dal raggio di 50 metri!`, data.success); + showStatus(`${result} - Sei ${data.success ? 'dentro' : 'fuori'} dal raggio di 2000 metri!`, data.success); showResult(data); } else { showStatus(`❌ Errore: ${data.detail || 'Errore sconosciuto'}`, false);