Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: use `HOPP_AIO_ALTERNATE_PORT` in healthcheck (#5136)

Radrogyl011c8090aa58
diff --git a/healthcheck.sh b/healthcheck.sh
index 9b29906b8..9b3939f17 100644
--- a/healthcheck.sh
+++ b/healthcheck.sh
@@ -9,7 +9,7 @@ curlCheck() {
}
if [ "$ENABLE_SUBPATH_BASED_ACCESS" = "true" ]; then
- curlCheck "http://localhost:80/backend/ping" || exit 1
+ curlCheck "http://localhost:${HOPP_AIO_ALTERNATE_PORT:-80}/backend/ping" || exit 1
else
curlCheck "http://localhost:3000" || exit 1
curlCheck "http://localhost:3100" || exit 1