Skip to content

Commit df8e766

Browse files
committed
fixed variables in tools.sh in frontend server
1 parent ee34b58 commit df8e766

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Frontend/tools.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
#!/bin/bash
22

33
# Wait until the Django server is available
4-
while ! curl -s "${USER_SERVICE_URL}" >/dev/null; do
5-
echo "Waiting for Django server at ${USER_SERVICE_URL}..."
4+
while ! curl -s "${USER_SERVICE}" >/dev/null; do
5+
echo "Waiting for user-service server at ${USER_SERVICE}..."
66
sleep 5
77
done
88

99
# Wait until the Auth server is available
10-
while ! curl -s "${AUTH_SERVICE_URL}" >/dev/null; do
11-
echo "Waiting for Auth server at ${AUTH_SERVICE_URL}..."
10+
while ! curl -s "${TOKEN_SERVICE}" >/dev/null; do
11+
echo "Waiting for token-service at ${TOKEN_SERVICE}..."
1212
sleep 5
1313
done
1414

1515
# Wait until the Auth server is available
16-
while ! curl -s "${GAME_HISTORY_URL}" >/dev/null; do
17-
echo "Waiting for Auth server at ${GAME_HISTORY_URL}..."
16+
while ! curl -s "${GAME_HISTORY}" >/dev/null; do
17+
echo "Waiting for game-history at ${GAME_HISTORY}..."
1818
sleep 5
1919
done
2020

0 commit comments

Comments
 (0)