Comparing version 3.2.0 to 3.2.1
@@ -48,3 +48,2 @@ /** | ||
server.on('request', (req, res) => { | ||
req.originalUrl = req.url | ||
setImmediate(() => app.handle(req, res)) | ||
@@ -54,3 +53,2 @@ }) | ||
server.on('request', (req, res) => { | ||
req.originalUrl = req.url | ||
app.handle(req, res) | ||
@@ -175,3 +173,6 @@ }) | ||
handle: (req, res) => { | ||
// request object population | ||
req.originalUrl = req.url | ||
res.send = exts.response.send(options, req, res) | ||
if (middlewares.length > 0) { | ||
@@ -178,0 +179,0 @@ // call route middlewares and route handler |
{ | ||
"name": "restana", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Super fast and minimalist web framework for building REST micro-services.", | ||
@@ -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
26519