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

Function htmlResponse

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

Source from the content-addressed store, hash-verified

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

Callers 3

collectStaticRoutesFunction · 0.85
embeddedToStaticRoutesFunction · 0.85
startServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected