pull/216/head
midoks 3 years ago
parent 0d02d0ebea
commit 4f932c36e7
  1. 1
      plugins/op_waf/waf/html/safe_js.html
  2. 2
      plugins/op_waf/waf/lua/common.lua

@ -131,7 +131,6 @@ var ok = setInterval(function(){
ajax('JSON',true).post('/{uri}',{'pass':"ok"},function(data){
if (data['status'] == 0){
// document.getElementById('status').innerHTML = "ok";
location.reload();
}
});

@ -336,7 +336,7 @@ function _M.inc_log(self, name, rule)
ngx.shared.limit:set(total_path,total_log)
-- 异步执行
ngx.timer.at(1, timer_at_inc_log)
ngx.timer.at(0, timer_at_inc_log)
end

Loading…
Cancel
Save