Comparing version 1.0.4 to 1.0.5
@@ -84,3 +84,6 @@ "use strict"; | ||
this.defaultHeaders.forEach(header => res.header(header[0], header[1])); | ||
res.header("Allow", req.allow); | ||
if (req.allow) { | ||
res.header("Allow", req.allow); | ||
} | ||
} | ||
@@ -87,0 +90,0 @@ |
{ | ||
"name": "woodland", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Lightweight HTTP/HTTPS router with virtual hosts", | ||
@@ -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
14826
354