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

fix: rewrite rules for RegExp proxy urls #157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: rewrite rules for RegExp proxy urls #157

wants to merge 1 commit into from

Conversation

xv2
Copy link

@xv2 xv2 commented Aug 2, 2024

Hi,
I'm using RegExp for Vite proxy, official documentation: https://vitejs.dev/config/server-options.html#server-proxy
This code implements support for this feature (you can see original code in Vite package: https://github.com/vitejs/vite/blob/2c64267a82f1dfe703268fd5d8b1826e9bb457d5/packages/vite/src/node/server/middlewares/proxy.ts#L175-L180 )

@xv2 xv2 changed the title fix: rewrite rules for RegExpr proxy urls fix: rewrite rules for RegExp proxy urls Aug 2, 2024
@xv2
Copy link
Author

xv2 commented Sep 8, 2024

@jinmao88

@WuzzyLV
Copy link

WuzzyLV commented Oct 21, 2024

Need this! 👍

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

Successfully merging this pull request may close these issues.

2 participants