摘要: const http=require("http"); const server=http.createServer(); server.on("request",function(req,res){ if(req.url!=="/favicon.ico"){ console.log(req.url); res.end(); } }); 阅读全文
posted @ 2017-03-31 11:27 yudis 阅读(4058) 评论(0) 推荐(0) 编辑