Comparing version 2.0.0 to 2.1.0
@@ -65,5 +65,4 @@ var methods = require("http-methods") | ||
res.setHeader("Access-Control-Allow-Origin", origin) | ||
if (origin) { | ||
res.setHeader("Access-Control-Allow-Origin", origin) | ||
res.setHeader("Access-Control-Allow-Methods", | ||
@@ -70,0 +69,0 @@ opts["Access-Control-Allow-Methods"] || |
{ | ||
"name": "corsify", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "CORS up a route handler", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
7717