MCPcopy Create free account
hub / github.com/codeaashu/claude-code / fetchHealth

Function fetchHealth

web/lib/api.ts:78–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78export async function fetchHealth(): Promise<boolean> {
79 try {
80 const res = await fetch(`${getApiUrl()}/health`, { cache: "no-store" });
81 return res.ok;
82 } catch {
83 return false;
84 }
85}

Callers

nothing calls this directly

Calls 1

getApiUrlFunction · 0.85

Tested by

no test coverage detected