fix api health

This commit is contained in:
Kenneth Kehl
2025-06-06 11:03:43 -07:00
parent 87489c8e55
commit c5613954a0

View File

@@ -18,7 +18,7 @@ def is_api_down():
api_base_url = os.getenv("API_HOST_NAME")
try:
response = requests.get(
api_base_url, timeout=2, cert=get_no_x509_strict_context()
api_base_url, timeout=2, verify=get_no_x509_strict_context()
)
is_down = response.status_code != 200
if is_down: