Skip to content

fix: rewrite rules for RegExp proxy urls#157

Open
xv2 wants to merge 1 commit into
vbenjs:mainfrom
xv2:fix
Open

fix: rewrite rules for RegExp proxy urls#157
xv2 wants to merge 1 commit into
vbenjs:mainfrom
xv2:fix

Conversation

@xv2

@xv2 xv2 commented Aug 2, 2024

Copy link
Copy Markdown

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

xv2 commented Sep 8, 2024

Copy link
Copy Markdown
Author

@jinmao88

@WuzzyLV

WuzzyLV commented Oct 21, 2024

Copy link
Copy Markdown

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.

3 participants