MCPcopy
hub / github.com/7836246/cursor2api / fetchConfig

Function fetchConfig

vue-ui/src/api.ts:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50export function fetchConfig(): Promise<HotConfig> {
51 return apiFetch<HotConfig>('/api/config');
52}
53
54export async function saveConfig(cfg: Partial<HotConfig>): Promise<SaveConfigResult> {
55 const res = await fetch('/api/config', {

Callers 1

loadFunction · 0.90

Calls 1

apiFetchFunction · 0.85

Tested by

no test coverage detected