diff --git a/scripts/health-check.cmd b/scripts/health-check.cmd new file mode 100644 index 00000000..499e96cc --- /dev/null +++ b/scripts/health-check.cmd @@ -0,0 +1,11 @@ +@echo off +setlocal + +if "%~1"=="" ( + set "BASE_URL=http://127.0.0.1:8317" +) else ( + set "BASE_URL=%~1" +) + +powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0health-check.ps1" -BaseUrl "%BASE_URL%" +exit /b %errorlevel%