openvidu-deployment: Fix HTTP status check in deployment scripts to wait for 401 instead of 200

v2
cruizba 2025-12-04 13:57:30 +01:00
parent 812677da8e
commit dc8626fbf4
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ Resources:
#!/bin/bash
while true; do
HTTP_STATUS=$(curl -Ik http://localhost:5443 | head -n1 | awk '{print $2}')
if [ $HTTP_STATUS == 200 ]; then
if [ $HTTP_STATUS == 401 ]; then
break
fi
sleep 5

View File

@ -569,7 +569,7 @@ Resources:
#!/bin/bash
while true; do
HTTP_STATUS=$(curl -Ik http://localhost:5443/ | head -n1 | awk '{print $2}')
if [ $HTTP_STATUS == 200 ]; then
if [ $HTTP_STATUS == 401 ]; then
break
fi
sleep 5