refactor: AIO healthcheck bash script (#3920)
* chore: added logic to make script with with subpath * chore: removed variable from failed echo message
This commit is contained in:
@@ -9,6 +9,10 @@ curlCheck() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
curlCheck "http://localhost:3000"
|
if [ "$ENABLE_SUBPATH_BASED_ACCESS" = "true" ]; then
|
||||||
curlCheck "http://localhost:3100"
|
curlCheck "http://localhost:80/backend/ping"
|
||||||
curlCheck "http://localhost:3170/ping"
|
else
|
||||||
|
curlCheck "http://localhost:3000"
|
||||||
|
curlCheck "http://localhost:3100"
|
||||||
|
curlCheck "http://localhost:3170/ping"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user