Closed imshenshen closed 5 months ago
https://github.com/vagusX/koa-proxies/blob/15d3f1c8dc672150432fc6924c752b57230ad46a/index.js#L86-L96
in line 94, the first invocation of the event is cached here. If the method uses the 'ctx' passed from the previous options, the 'ctx' object inside it remains the same as the first time every time it is executed.
I fetch twice with different url, why the secondary
proxyReq
function output is the FIRST fetch's url ?output: