node-http-proxy
node-http-proxy copied to clipboard
Is it possible I run the proxy in this way?
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.
I also strongly need exaclty this too! How to configure Vite this way?
webpack-dev-server can solve the problem by configure bypass