http-party/node-http-proxy

Is it possible I run the proxy in this way?

cscan opened this issue · 2 comments

cscan commented

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.

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

fuguxu commented

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