MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / htmlResponse

Function htmlResponse

apps/local/src/serve.ts:36–39  ·  view source on GitHub ↗
(file: Bun.BunFile)

Source from the content-addressed store, hash-verified

34type StaticHandler = () => Response | Promise<Response>;
35
36const htmlResponse = (file: Bun.BunFile): Response =>
37 new Response(file, {
38 headers: { "content-type": "text/html", "cache-control": "no-store" },
39 });
40
41const oauthClientMetadataResponse = (requestUrl: string, webRequest: Request): Response =>
42 new Response(

Callers 3

collectStaticRoutesFunction · 0.85
embeddedToStaticRoutesFunction · 0.85
startServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected