Skip to content

Commit

Permalink
use https://www.google.com instead of http://
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 authored Jan 14, 2025
1 parent 11199d7 commit 88398f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/checkingUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def is_zigate_firmware_available(self, currentMajorVersion, currentFirmwareVersi

def is_internet_available():
try:
response = requests.get("http://www.google.com", timeout=3)
response = requests.get("https://www.google.com", timeout=3)
# Check if the status code is a success code (2xx)
return response.status_code == 200
except requests.ConnectionError:
Expand Down

0 comments on commit 88398f8

Please sign in to comment.