remove hardcoded host
@@ -1200,7 +1200,7 @@ function waitForController {
# echo "waiting for https://${ZITI_EDGE_CONTROLLER_API}"
# sleep 2
#done
- while [[ "$(curl -w "%{http_code}" -m 1 -s -k -o /dev/null https://sg3:1280/version)" != "200" ]]; do
+ while [[ "$(curl -w "%{http_code}" -m 1 -s -k -o /dev/null https://${ZITI_EDGE_CONTROLLER_API}/version)" != "200" ]]; do
echo "waiting for https://${ZITI_EDGE_CONTROLLER_API}"
done
}
