@zemke/http-mock
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -19,2 +19,5 @@ const http = require('http'); | ||
res.setHeader('Access-Control-Allow-Origin', '*'); | ||
res.setHeader("Access-Control-Allow-Credentials", "true"); | ||
res.setHeader("Access-Control-Allow-Methods", "GET,HEAD,OPTIONS,POST,PUT"); | ||
res.setHeader("Access-Control-Allow-Headers", "*"); | ||
@@ -21,0 +24,0 @@ const matchingMocks = mocks.filter(m => urlMatchesPattern(req.url, m[0])); |
{ | ||
"name": "@zemke/http-mock", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Serve JSON mocks conveniently.", | ||
@@ -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
3752
56