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.
1 parent e6554f8 commit 18f012dCopy full SHA for 18f012d
example/src/utils/serverStatus.ts
@@ -25,7 +25,7 @@ export interface LLMTestResponse {
25
*/
26
export const checkServerHealth = async (serverUrl: string, apiKey?: string): Promise<{ isConnected: boolean; error?: string }> => {
27
try {
28
- const url = `${serverUrl.replace(/\/$/, '')}/api/health`;
+ const url = `${serverUrl.replace(/\/$/, '')}/health`;
29
const headers: Record<string, string> = {
30
'Content-Type': 'application/json',
31
};
0 commit comments