From ed9c9c8ec638be63abf2b7d79dfca62b4608ee21 Mon Sep 17 00:00:00 2001 From: Finessse Date: Sat, 20 Dec 2025 06:11:27 +0700 Subject: [PATCH] chore: add health check wrapper --- scripts/health-check.cmd | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/health-check.cmd 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%