📅  最后修改于: 2022-03-11 15:03:42.703000             🧑  作者: Mango
代码示例1
const server = http.createServer((req, res)=>{
res.writeHead(200, {‘Content-type’ : ‘text/html’});
res.end(fileContent)