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

Function serveAppScript

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

Source from the content-addressed store, hash-verified

32`;
33
34function serveAppScript(req: IncomingMessage, res: ServerResponse) {
35 res.setHeader('Content-Type', 'text/javascript; charset=utf-8');
36 res.statusCode = 200;
37 res.end(APP_SCRIPT);
38}
39
40// A "bundle" transpiled from TypeScript with a real source map, like a
41// 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