MCPcopy Create free account
hub / github.com/dailydotdev/apps / proxy

Function proxy

packages/webapp/proxy.ts:161–167  ·  view source on GitHub ↗
(req: NextRequest)

Source from the content-addressed store, hash-verified

159};
160
161export async function proxy(req: NextRequest): Promise<NextResponse> {
162 if (isMarkdownRequest(req)) {
163 return handleMarkdownRequest(req);
164 }
165
166 return getLayoutVariantResponse(req) ?? NextResponse.next();
167}

Callers

nothing calls this directly

Calls 4

isMarkdownRequestFunction · 0.85
handleMarkdownRequestFunction · 0.85
getLayoutVariantResponseFunction · 0.85
nextMethod · 0.65

Tested by

no test coverage detected