koa-proxy
koa-proxy copied to clipboard
Is it possible to log only requests that are proxied?
I would like to log the requests that are proxied and how long they take to return a response. Is this somehow possible?
It looks like the map function is called on all requests, whether they match the provided regex or not. Seems like a waste of CPU.