Comparing version 3.1.0 to 3.1.1
@@ -14,3 +14,3 @@ /** | ||
return (err) => { | ||
if (err) return res.send(err) | ||
if (err) return errorHandler(err, req, res) | ||
if (res.statusCode === 200 && !res.finished) { | ||
@@ -17,0 +17,0 @@ if (!middleware) return |
{ | ||
"name": "restana", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Super fast and minimalist web framework for building REST micro-services.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -59,3 +59,3 @@ # restana | ||
#### Optionally roviding a router factory method: | ||
#### Optionally overwrite router factory method: | ||
> In this example we use `anumargak` router instead of `find-my-way`. | ||
@@ -62,0 +62,0 @@ ```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
26427