From c8904ff480fd77688c8706f7ac112d04e3f50abf Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 23 Jun 2020 10:43:00 +0200 Subject: [PATCH] Use /hub/api endpoint to check for hub ready On config reload --- tljh/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tljh/config.py b/tljh/config.py index ee1abdf41..85cefd66e 100644 --- a/tljh/config.py +++ b/tljh/config.py @@ -240,7 +240,7 @@ def remove_config_value(config_path, key_path, value): def check_hub_ready(): try: - r = requests.get('http://127.0.0.1:80', verify=False) + r = requests.get('http://127.0.0.1:80/hub/api', verify=False) return r.status_code == 200 except: return False