Skip to content

Commit 18f012d

Browse files
Fix health endpoint URL from /api/health to /health
Co-authored-by: openhands <openhands@all-hands.dev>
1 parent e6554f8 commit 18f012d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/utils/serverStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface LLMTestResponse {
2525
*/
2626
export const checkServerHealth = async (serverUrl: string, apiKey?: string): Promise<{ isConnected: boolean; error?: string }> => {
2727
try {
28-
const url = `${serverUrl.replace(/\/$/, '')}/api/health`;
28+
const url = `${serverUrl.replace(/\/$/, '')}/health`;
2929
const headers: Record<string, string> = {
3030
'Content-Type': 'application/json',
3131
};

0 commit comments

Comments
 (0)