koa-tree-router
Advanced tools
Comparing version 0.4.5 to 0.4.6
{ | ||
"name": "koa-tree-router", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "A high performance koa router", | ||
@@ -5,0 +5,0 @@ "main": "router.js", |
@@ -28,2 +28,5 @@ const http = require("http"); | ||
path = this.opts.prefix + path; | ||
if (path[path.length - 1] === '/') { | ||
path = path.slice(0, path.length - 1); | ||
} | ||
} | ||
@@ -30,0 +33,0 @@ this.trees[method].addRoute(path, handle); |
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
20829
559