Comparing version 1.3.0 to 1.3.1
@@ -53,2 +53,3 @@ 'use strict' | ||
if (res.statusCode >= 200 && res.statusCode <= 299) { | ||
if (opts.enableCORS && request.headers.origin) res.headers['access-control-allow-origin'] = '*' | ||
response.writeHead(res.statusCode, res.headers) | ||
@@ -55,0 +56,0 @@ res.pipe(response, {end: true}) |
{ | ||
"name": "bfn-proxy", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "HTTP request proxy middleware for node.js", | ||
@@ -5,0 +5,0 @@ "author": "Blue Fidelity Inc. (https://www.bluefidelity.com/)", |
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
10422
122
12