MCPcopy Create free account
hub / github.com/fontsource/fontsource / fetch

Function fetch

api/upload/src/worker.ts:6–15  ·  view source on GitHub ↗
(
		request: Request,
		env: Env,
		ctx: ExecutionContext,
	)

Source from the content-addressed store, hash-verified

4
5export default {
6 async fetch(
7 request: Request,
8 env: Env,
9 ctx: ExecutionContext,
10 ): Promise<Response> {
11 return await router.handle(request, env, ctx).catch((error_) => {
12 console.error(error_);
13 return error(error_);
14 });
15 },
16};

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected