Merge branch 'dev' into 'devops/docker-hub-registry'

# Conflicts:
#   CHANGELOG.md
This commit is contained in:
Iain Powrie 2023-01-07 15:24:28 +00:00
commit 4042e16cf1
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ TBD
- Make server directories non-configurable ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/511))
- Add popover to server port to detail it's purpose ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/514))
- Add server start timeout w/ WS Warning ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/518))
- Replace google ping for ntp for internet checks in locked-down countries ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/524))
- Add pushing to DockerHub registry ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/526))
### Lang
TBD

View File

@ -272,7 +272,7 @@ class Helpers:
@staticmethod
def check_internet():
try:
requests.get("https://google.com", timeout=1)
requests.get("https://ntp.org", timeout=1)
return True
except Exception:
return False