Узел средний код для сервера
const server = http.createServer((req, res)=>{
res.writeHead(200, {‘Content-type’ : ‘text/html’});
res.end(fileContent)
Successful Salamander
const server = http.createServer((req, res)=>{
res.writeHead(200, {‘Content-type’ : ‘text/html’});
res.end(fileContent)