Skip to content

Commit ee0c0eb

Browse files
author
sd109
committed
Use new health endpoint
1 parent b7bb1c0 commit ee0c0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-app-utils/api_startup_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def wait_for_backend(url):
99
ready = False
1010
while not ready:
1111
try:
12-
ready = requests.get(f"{url}/docs").status_code == 200
12+
ready = requests.get(f"{url}/health").status_code == 200
1313
print("Waiting for backend API to start")
1414
time.sleep(1)
1515
except requests.exceptions.ConnectionError as e:

0 commit comments

Comments
 (0)