dotos 7 年之前
父节点
当前提交
c9a8545475
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -70,7 +70,7 @@ app.use(function(req,res,next){
         ua:ua,
         dr:dr
     }
-    if(path.indexOf('/static/')>-1){
+    if(path.indexOf('/static/') == -1){
         visitor.pageview(params).send();
     }
     next()