MCPcopy
hub / github.com/pingdotgg/uploadthing / fetch

Function fetch

examples/backend-adapters/server/src/cf-worker.ts:64–67  ·  view source on GitHub ↗
(request, env, ctx)

Source from the content-addressed store, hash-verified

62
63export default {
64 async fetch(request, env, ctx) {
65 if (request.method === "OPTIONS") return cors();
66 return cors(await handler(request, env, ctx));
67 },
68} satisfies ExportedHandler<Env>;

Callers 10

fetchDataFunction · 0.85
sdk.live.test.tsFile · 0.85
adapters.test.tsFile · 0.85
fetchEffFunction · 0.85
getFontFunction · 0.85
WhatServerFunction · 0.85
setInputPropsFunction · 0.85
handlerFunction · 0.85
PageFunction · 0.85
pollForServerCompleteFunction · 0.85

Calls 2

corsFunction · 0.85
handlerFunction · 0.70

Tested by

no test coverage detected