MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / successPage

Function successPage

packages/cli/src/auth/loopback.ts:193–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193function successPage(): string {
194 return `<!doctype html><html><head><meta charset="utf-8"><title>Signed in to HeyGen</title>
195<style>body{font-family:system-ui,sans-serif;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;background:#0b0f14;color:#e6e8eb}main{max-width:480px;text-align:center;padding:32px;border-radius:12px;background:#11161d;border:1px solid #1f2630}h1{font-weight:600;margin:0 0 8px;color:#3CE6AC}p{margin:0;color:#9aa3ad}</style>
196</head><body><main><h1>You're signed in.</h1><p>You can close this tab and return to your terminal.</p></main></body></html>`;
197}
198
199function errorPage(code: string, description: string): string {
200 const safeCode = escapeHtml(code);

Callers 1

handleRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected