diff --git a/scripts/debian-13-setup.sh b/scripts/debian-13-setup.sh index 78960db..73d68be 100755 --- a/scripts/debian-13-setup.sh +++ b/scripts/debian-13-setup.sh @@ -297,7 +297,7 @@ fi if echo "\$KIOSK_URL" | grep -q "localhost"; then echo "Waiting for ScreenTinker server..." for i in \$(seq 1 60); do - if curl -sf "http://localhost:${SCREENTINKER_PORT}/api/health" >/dev/null 2>&1; then + if curl -sf "http://localhost:${SCREENTINKER_PORT}/api/status" >/dev/null 2>&1; then echo "Server ready after \${i}x2s" break fi diff --git a/scripts/raspberry-pi-setup.sh b/scripts/raspberry-pi-setup.sh index 07fb234..f7b1baf 100644 --- a/scripts/raspberry-pi-setup.sh +++ b/scripts/raspberry-pi-setup.sh @@ -280,7 +280,7 @@ fi if echo "\$KIOSK_URL" | grep -q "localhost"; then echo "Waiting for ScreenTinker server..." for i in \$(seq 1 30); do - if curl -sf "http://localhost:${SCREENTINKER_PORT}/api/health" >/dev/null 2>&1; then + if curl -sf "http://localhost:${SCREENTINKER_PORT}/api/status" >/dev/null 2>&1; then echo "Server ready" break fi