Skip to content

v0.13.0

Compare
Choose a tag to compare
@chimurai chimurai released this 23 Mar 20:22
· 325 commits to master since this release

v0.12.0...v0.13.0

  • feat(context): custom context matcher; when simple path matching is not sufficient. #59

Example:

var filter = function (path, req) {
    return (path.match('^/api') && req.method === 'GET');
};

var apiProxy = proxyMiddleware(filter, {target: 'http://www.example.org'});