system/ui: Use OPENPILOT_URL instead of google.com for network connectivity check (#35254)

check OPENPILOT_URL
This commit is contained in:
Dean Lee
2025-05-17 04:56:41 +08:00
committed by GitHub
parent 71e3fd7183
commit 09fde3c3ad
+1 -1
View File
@@ -123,7 +123,7 @@ class Setup:
while not self.stop_network_check_thread.is_set():
if self.state == SetupState.NETWORK_SETUP:
try:
urllib.request.urlopen("https://google.com", timeout=2)
urllib.request.urlopen(OPENPILOT_URL, timeout=2)
self.network_connected.set()
if HARDWARE.get_network_type() == NetworkType.wifi:
self.wifi_connected.set()