T
Size: a a a
T
T
А
T
T
А
T
А
T
А
T
А
АН
Р
ej
ej
action: (req, resp) => {
pipeline(
fs.createReadStream("index.html"),
resp,
(err) => {
if (err) {
output(`error while transfering index.html: ${err}
, 'red')` }
else {
output('succesfuly transfered index.html', 'cyan')
}
}
);
},
ej
V
ej
ej
action: (req, resp) => {
resp.write("Content-type: text/html\r\n")
pipeline(
fs.createReadStream("index.html"),
resp,
(err) => {
if (err) {
output(`error while transfering index.html: ${err}
, 'red')` }
else {
output('succesfuly transfered index.html', 'cyan')
}
}
);
},