MCPcopy Create free account
hub / github.com/Thanas-R/Virdis / json

Function json

supabase/functions/mapbox-geocode/index.ts:9–14  ·  view source on GitHub ↗
(body: unknown, status = 200)

Source from the content-addressed store, hash-verified

7};
8
9function json(body: unknown, status = 200) {
10 return new Response(JSON.stringify(body), {
11 status,
12 headers: { ...corsHeaders, "Content-Type": "application/json" },
13 });
14}
15
16serve(async (req) => {
17 if (req.method === "OPTIONS") return new Response(null, { headers: corsHeaders });

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected