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

Function htmlDataUrl

apps/desktop/src/main/index.ts:148–149  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

146};
147
148const htmlDataUrl = (html: string): string =>
149 `data:text/html;charset=utf-8,${encodeURIComponent(html)}`;
150
151// The supervised daemon (and the desktop sidecar) own this data dir — the same
152// path the CLI's `executor web`/daemon uses, so desktop and CLI share state.

Callers 2

showStartupWindowFunction · 0.85
showCrashScreenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected