摘要: const http=require('http'); const fs=require('fs'); var server = http.createServer(function(req, res){ var file_name = './www' + req.url; // req.url => '/index.html' // 读取 => './www.... 阅读全文
posted @ 2019-01-12 21:41 CarpenterZoe 阅读(141) 评论(0) 推荐(0) 编辑