Comparing version 1.0.4 to 1.0.5
@@ -29,3 +29,3 @@ | ||
exports.version = '1.0.4'; | ||
exports.version = '1.0.5'; | ||
@@ -32,0 +32,0 @@ /** |
@@ -102,3 +102,3 @@ | ||
if (arguments.length > 2) { | ||
Array.prototype.slice.call(arguments, 1).forEach(function(fn){ | ||
return Array.prototype.slice.call(arguments, 1).forEach(function(fn){ | ||
this.use(route, fn); | ||
@@ -105,0 +105,0 @@ }, this); |
@@ -89,3 +89,3 @@ | ||
, end = res.end | ||
, url = req.url; | ||
, url = req.originalUrl; | ||
@@ -145,3 +145,3 @@ // mount safety | ||
return str | ||
.replace(':url', req.url) | ||
.replace(':url', req.originalUrl) | ||
.replace(':method', req.method) | ||
@@ -148,0 +148,0 @@ .replace(':status', res._statusCode) |
{ | ||
"name": "connect", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "High performance middleware framework", | ||
@@ -5,0 +5,0 @@ "keywords": ["framework", "web", "middleware", "connect", "rack"], |
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
75043