koa2-nginx
Advanced tools
Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
const httpProxyMiddleware = require('http-proxy-middleware'); | ||
const c2k = require('koa2-connect'); | ||
exports.getProxyMiddleware = function(proxyConfig) { | ||
function getProxyMiddleware(proxyConfig) { | ||
const context = proxyConfig.context; | ||
@@ -10,3 +10,3 @@ | ||
} | ||
}; | ||
} | ||
@@ -13,0 +13,0 @@ exports.setupProxyFeature = function(options) { |
{ | ||
"name": "koa2-nginx", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"description": "This is an http-proxy koa proxy middleware that can be used after bodyparse", | ||
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
2321