mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-17 07:12:08 +08:00
system/ui: Use OPENPILOT_URL instead of google.com for network connectivity check (#35254)
check OPENPILOT_URL
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user