fast-gateway
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -46,3 +46,3 @@ const fastProxy = require('fast-proxy') | ||
const { proxy } = fastProxy({ | ||
base: route.target, | ||
base: opts.targetOverride || route.target, | ||
http2: !!route.http2, | ||
@@ -49,0 +49,0 @@ ...(opts.fastProxy) |
{ | ||
"name": "fast-gateway", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "A Node.js API Gateway for the masses!", | ||
@@ -38,9 +38,9 @@ "main": "index.js", | ||
"express-jwt": "^5.3.1", | ||
"helmet": "^3.20.0", | ||
"helmet": "^3.21.0", | ||
"mocha": "^6.2.0", | ||
"nyc": "^14.1.1", | ||
"response-time": "^2.3.2", | ||
"standard": "^14.0.2", | ||
"standard": "^14.2.0", | ||
"supertest": "^4.0.2" | ||
} | ||
} |
@@ -45,2 +45,4 @@ # fast-gateway | ||
pathRegex: '/*', | ||
// Optional "target" value that overrides the routes "target" config value. Feature intended for testing purposes. | ||
targetOverride: "https://yourdev.api-gateway.com", | ||
@@ -47,0 +49,0 @@ // HTTP proxy |
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
23747
242