diff --git a/api/v1/index.php b/api/v1/index.php index a58d56a..ff5fc4c 100644 --- a/api/v1/index.php +++ b/api/v1/index.php @@ -27,7 +27,7 @@ echo json_encode(['error' => 'Not Found']); } } elseif ($method === 'GET' && $path === '/health') { - echo json_encode(['status' => 'ok']); + include __DIR__ . '/../health.php'; // <-- include the real health check script here } else { http_response_code(405); echo json_encode(['error' => 'Method Not Allowed']);