This commit is contained in:
2025-10-28 20:18:59 -05:00
parent b7685b5266
commit 372f86d06b
6 changed files with 32 additions and 17 deletions

View File

@@ -32,7 +32,8 @@ test_wakaapi() {
sleep 15 # Allow time for wakaapi to fully start
# Try the main endpoint (health check might not be at /api in Wakapi)
if curl -f -s "http://$BIND_ADDRESS:$WAKAAPI_PORT/" > /dev/null || curl -f -s "http://$BIND_ADDRESS:$WAKAAPI_PORT/api/users" > /dev/null; then
# WakaAPI is a Go-based web app that listens on port 3000
if curl -f -s "http://$BIND_ADDRESS:$WAKAAPI_PORT/" > /dev/null; then
echo "✓ wakaapi is accessible via HTTP"
else
echo "✗ wakaapi is NOT accessible via HTTP at http://$BIND_ADDRESS:$WAKAAPI_PORT/"