Comparing version 0.1.0 to 0.1.1
@@ -36,7 +36,7 @@ const Util = require('util'); | ||
} | ||
let rule = paths.get(path); | ||
let rule = this.paths.get(path); | ||
if (rule) { | ||
return rule.use(ip, path, ddos, next); | ||
} | ||
rules.some((rule) => { | ||
this.rules.some((rule) => { | ||
let matches = path.match(rule.regexp); | ||
@@ -43,0 +43,0 @@ if (matches) { |
{ | ||
"name": "dddos", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9626