incremented geo radius 2

This commit is contained in:
Alessio Prato 2025-08-02 03:36:15 +02:00
parent 4af7197a7c
commit 4e74bbb443
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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);