.
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user