node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

Is it possible I run the proxy in this way?

Open cscan opened this issue 2 years ago • 2 comments
trafficstars

I want to respond to the client in the following way:

After receiving request, first look at the requested path whether the local file system contains the resource. If yes, return the resource from local without proxy the request. If no, proxy the request.

cscan avatar Apr 18 '23 03:04 cscan

I also strongly need exaclty this too! How to configure Vite this way?

ansorre avatar Oct 28 '23 14:10 ansorre

webpack-dev-server can solve the problem by configure bypass

fuguxu avatar Nov 15 '23 03:11 fuguxu