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:
parent
a9cd6c0c01
commit
018ed3db26
1 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue