From 4cea34043065e07d611c850ada3628f4fafd2813 Mon Sep 17 00:00:00 2001 From: burak Date: Tue, 6 Oct 2026 14:52:58 +0300 Subject: [PATCH] Fix installer readiness endpoint --- install_ant-media-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_ant-media-server.sh b/install_ant-media-server.sh index e56a89d3..fc243535 100755 --- a/install_ant-media-server.sh +++ b/install_ant-media-server.sh @@ -497,7 +497,7 @@ wait_for_server() { port=$(sed -n 's/^[[:space:]]*http.port[[:space:]]*=[[:space:]]*//p' "$AMS_BASE/conf/red5.properties" | tail -n 1 | tr -d '\r[:space:]') port=${port:-5080} PANEL_PORT=$port - url="http://127.0.0.1:$port/" + url="http://127.0.0.1:$port/rest/v2/liveness" echo "Waiting for Ant Media Server at $url (up to 120 seconds)..." while (( SECONDS < deadline )); do code=$(curl --noproxy '*' --silent --output /dev/null --write-out '%{http_code}' --connect-timeout 2 --max-time 3 "$url") || code=000