MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / passwordShellResponse

Function passwordShellResponse

packages/ci-proxy-worker/src/index.ts:411–423  ·  view source on GitHub ↗
(
  title: string,
  body: string,
  status: number,
)

Source from the content-addressed store, hash-verified

409}
410
411function passwordShellResponse(
412 title: string,
413 body: string,
414 status: number,
415): Response {
416 return new Response(passwordShell(title, body), {
417 status,
418 headers: {
419 "Content-Type": "text/html; charset=utf-8",
420 "Cache-Control": "no-store",
421 },
422 });
423}
424
425function passwordShell(title: string, body: string): string {
426 return `<!doctype html>

Callers 4

authenticateSessionFunction · 0.85
establishSessionFunction · 0.85
passwordPageFunction · 0.85
landingPageFunction · 0.85

Calls 1

passwordShellFunction · 0.85

Tested by

no test coverage detected