MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / jsonResponse

Function jsonResponse

src/hooks/urlLoaderColmapDiscovery.test.ts:32–37  ·  view source on GitHub ↗
(data: unknown)

Source from the content-addressed store, hash-verified

30];
31
32function jsonResponse(data: unknown): Response {
33 return new Response(JSON.stringify(data), {
34 status: 200,
35 headers: { 'Content-Type': 'application/json' },
36 });
37}
38
39function jsonResponseWithNext(data: unknown, nextUrl: string): Response {
40 return new Response(JSON.stringify(data), {

Callers 2

maldivesFetchImplFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected