MCPcopy Index your code
hub / github.com/angular/angular / writeNotFound

Function writeNotFound

packages/zone.js/simple-server.js:16–19  ·  view source on GitHub ↗
(res)

Source from the content-addressed store, hash-verified

14const localFolder = __dirname;
15
16function writeNotFound(res) {
17 res.writeHead(404, {'Content-Type': 'text/html'});
18 res.end('<h1>404, Not Found!</h1>');
19}
20
21function requestHandler(req, res) {
22 if (req.url === '/close') {

Callers 1

requestHandlerFunction · 0.85

Calls 1

endMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…