We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7bb1c0 commit ee0c0ebCopy full SHA for ee0c0eb
web-app-utils/api_startup_check.py
@@ -9,7 +9,7 @@ def wait_for_backend(url):
9
ready = False
10
while not ready:
11
try:
12
- ready = requests.get(f"{url}/docs").status_code == 200
+ ready = requests.get(f"{url}/health").status_code == 200
13
print("Waiting for backend API to start")
14
time.sleep(1)
15
except requests.exceptions.ConnectionError as e:
0 commit comments