Log companion health checks
This commit is contained in:
@@ -143,6 +143,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($request.Method -eq "GET" -and $request.Path -eq "/health") {
|
if ($request.Method -eq "GET" -and $request.Path -eq "/health") {
|
||||||
|
Write-Host "Health check OK: $(Get-Date -Format 'HH:mm:ss')"
|
||||||
Write-Response $stream 200 "OK" (@{ ok = $true; outputRoot = $OutputRoot } | ConvertTo-Json -Compress)
|
Write-Response $stream 200 "OK" (@{ ok = $true; outputRoot = $OutputRoot } | ConvertTo-Json -Compress)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user