Keep Redneck Cruise in Galaxy developer settings

This commit is contained in:
firestar5683
2026-08-07 11:36:15 -05:00
parent 332dfdf099
commit 32117d43bc
6 changed files with 14 additions and 24 deletions
+2 -3
View File
@@ -55,7 +55,7 @@ from openpilot.tools.lib.logreader import LogReader, ReadMode
# Constants
# ============================================================================
OVERPASS_API_URL = "https://maps.mail.ru/osm/tools/overpass/api/interpreter"
OVERPASS_API_URL = "https://overpass-api.de/api/interpreter"
OVERPASS_UA = "starpilot-diagnose-slc/1.0 (https://github.com/FrogAi/StarPilot)"
JWT_HELP_URL = "https://jwt.comma.ai/"
@@ -672,8 +672,7 @@ class OverpassClient:
if not gps:
return {}
cache_input = {"endpoint": OVERPASS_API_URL, "gps": gps}
key = hashlib.sha256(json.dumps(cache_input, sort_keys=True).encode()).hexdigest()[:16]
key = hashlib.sha256(json.dumps(gps, sort_keys=True).encode()).hexdigest()[:16]
cached = self._load_cache(key)
if cached is not None:
return cached