Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tong89/smartNode
/ fetchHealth
Function
fetchHealth
frontend/src/api/endpoints.ts:64–66 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
* Returns basic status and server time.
63
*/
64
export
function
fetchHealth(): Promise<HealthResponse> {
65
return
apiClient.get<HealthResponse>(
'/api/health'
);
66
}
67
68
/**
69
* GET /api/data — Full simulation snapshot.
Callers
1
refreshAll
Function · 0.90
Calls
1
get
Method · 0.45
Tested by
no test coverage detected