Closed Rudedog9d closed 3 years ago
I do agree that trying to accomplish pathRewrite
functionality isn't very ergonomic right now - but I'm unlikely to replace the module.
proxyReqPathResolver
in the existing proxy can accomplish the same thingextend
option you can simply bring in koa-http2-proxy yourselfv2 provides much better proxy and proxy rewrite support!
Consider updating the proxy dependency to koa-http2-proxy to support
pathRewrite
. I was able to swap out the import and it "just worked", but the docs and such may need updated, and it may break backwards compatability.