Split frontend config API into file_config, server, and health modules
This commit is contained in:
7
frontend/src/api/health.ts
Normal file
7
frontend/src/api/health.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { get } from "./client";
|
||||
import { ENDPOINTS } from "./endpoints";
|
||||
import type { HealthResponse } from "../types/server";
|
||||
|
||||
export async function fetchHealth(): Promise<HealthResponse> {
|
||||
return get<HealthResponse>(ENDPOINTS.health);
|
||||
}
|
||||
Reference in New Issue
Block a user