MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / serveAppScript

Function serveAppScript

tests/LogpointManager.test.ts:33–37  ·  view source on GitHub ↗
(req: IncomingMessage, res: ServerResponse)

Source from the content-addressed store, hash-verified

31`;
32
33function serveAppScript(req: IncomingMessage, res: ServerResponse) {
34 res.setHeader('Content-Type', 'text/javascript; charset=utf-8');
35 res.statusCode = 200;
36 res.end(APP_SCRIPT);
37}
38
39// A "bundle" transpiled from TypeScript with a real source map, like a
40// bundler would produce. Line 2 of the TypeScript source is the logpoint

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected