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

Function accessConfigErrorResponse

apps/host-cloudflare/src/worker.ts:35–42  ·  view source on GitHub ↗
(missingVars: readonly string[])

Source from the content-addressed store, hash-verified

33};
34
35const accessConfigErrorResponse = (missingVars: readonly string[]): Response =>
36 new Response(`${cloudflareAccessConfigErrorMessage(missingVars)}\n`, {
37 status: 503,
38 headers: {
39 "cache-control": "no-store",
40 "content-type": "text/plain; charset=utf-8",
41 },
42 });
43
44export default {
45 fetch: async (request: Request, env: CloudflareEnv, ctx: ExecutionContext): Promise<Response> => {

Callers 1

worker.tsFile · 0.85

Calls 1

Tested by

no test coverage detected