From e51062d2496bd19431d423b36ae9e7dca4eca14f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 13 Jan 2017 18:50:52 -0800 Subject: [PATCH] http: minor params. --- lib/http/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http/base.js b/lib/http/base.js index 96e623e7..26d2a0a8 100644 --- a/lib/http/base.js +++ b/lib/http/base.js @@ -527,7 +527,7 @@ Route.prototype.match = function match(pathname) { if (key) params[key] = item; - params[i] = item; + params[i - 1] = item; } return params;