Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "corsable", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "lightweight CORS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -68,7 +68,21 @@ # simple CORS | ||
default: `[ 'POST','GET','PUT','DELETE','OPTIONS' ]` | ||
default: `[ | ||
'POST', | ||
'GET', | ||
'PUT', | ||
'PATCH', | ||
'DELETE', | ||
'OPTIONS' | ||
]` | ||
### `allow_headers` (Access-Control-Allow-Headers) | ||
default: `[ 'X-Requested-With','Access-Control-Allow-Origin','X-HTTP-Method-Override','Content-Type','Authorization','Accept' ]` | ||
default: `[ | ||
'X-Requested-With', | ||
'Access-Control-Allow-Origin', | ||
'X-HTTP-Method-Override', | ||
'Content-Type', | ||
'Authorization', | ||
'Accept' | ||
]` | ||
@@ -75,0 +89,0 @@ ### `expose_headers` (Access-Control-Expose-Headers) |
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
8415
91