()
| 76 | } |
| 77 | |
| 78 | export 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 | } |
nothing calls this directly
no test coverage detected