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:
Balu Babu
2024-03-21 16:12:13 +05:30
committed by GitHub
parent a9cd6c0c01
commit 018ed3db26

View File

@@ -9,6 +9,10 @@ curlCheck() {
fi
}
curlCheck "http://localhost:3000"
curlCheck "http://localhost:3100"
curlCheck "http://localhost:3170/ping"
if [ "$ENABLE_SUBPATH_BASED_ACCESS" = "true" ]; then
curlCheck "http://localhost:80/backend/ping"
else
curlCheck "http://localhost:3000"
curlCheck "http://localhost:3100"
curlCheck "http://localhost:3170/ping"
fi