Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible I run the proxy in this way? #1633

Open
cscan opened this issue Apr 18, 2023 · 2 comments
Open

Is it possible I run the proxy in this way? #1633

cscan opened this issue Apr 18, 2023 · 2 comments

Comments

@cscan
Copy link

cscan commented Apr 18, 2023

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.

@ansorre
Copy link

ansorre commented Oct 28, 2023

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

@fuguxu
Copy link

fuguxu commented Nov 15, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants