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

Function accessConfigErrorResponse

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

Source from the content-addressed store, hash-verified

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

Callers 1

worker.tsFile · 0.85

Calls 1

Tested by

no test coverage detected