MCPcopy Create free account
hub / github.com/JacobLinCool/LeetCode-Stats-Card / fetch

Function fetch

packages/cloudflare-worker/src/index.ts:5–15  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

3
4export default {
5 async fetch(request: Request): Promise<Response> {
6 try {
7 return await handle(request);
8 } catch (err) {
9 console.error(err);
10 return new Response((err as Error).message, {
11 status: 500,
12 headers: new Header().add("cors", "text"),
13 });
14 }
15 },
16};

Callers 2

FontExtensionFunction · 0.85
RemoteStyleExtensionFunction · 0.85

Calls 2

handleFunction · 0.90
addMethod · 0.80

Tested by

no test coverage detected