HonorLee 7 年之前
父节点
当前提交
0a77e39ad8
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      system/lib/core/static.js

+ 0 - 2
system/lib/core/static.js

@@ -9,8 +9,6 @@ var Static = {
             return;  
         }
         if(ext.match(/png|jpg|jpeg|gif/)){
-            // res.writeHead(404, {'Content-Type': 'text/html'});
-            // res.end();
             IMAGE.load(URL.parse(assetFile,true).pathname,ext,req,res);
         }else if(FILE.existsSync(assetFile)){
             var data;