MCPcopy Create free account
hub / github.com/Sagyam/linite / constructor

Method constructor

src/lib/api-client.ts:14–16  ·  view source on GitHub ↗
(baseUrl: string = '/api')

Source from the content-addressed store, hash-verified

12 private baseUrl: string;
13
14 constructor(baseUrl: string = '/api') {
15 this.baseUrl = baseUrl;
16 }
17
18 /**
19 * Generic fetch wrapper with error handling

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected