We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6f6424 + e154320 commit 0a4ba22Copy full SHA for 0a4ba22
api/v1/index.php
@@ -27,7 +27,7 @@
27
echo json_encode(['error' => 'Not Found']);
28
}
29
} elseif ($method === 'GET' && $path === '/health') {
30
- echo json_encode(['status' => 'ok']);
+ include __DIR__ . '/../health.php'; // <-- include the real health check script here
31
} else {
32
http_response_code(405);
33
echo json_encode(['error' => 'Method Not Allowed']);
0 commit comments