We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my case, I'm putting all server requests under /api then I rewrite it and remove api path and dispatch the request to the actual server.
/api
Here's how vite is does it and we need something similar https://github.com/vitejs/vite/blob/987b8fadc176434b1b18c5dcf15a8cefe434e500/packages/vite/src/node/server/middlewares/proxy.ts#L130
The text was updated successfully, but these errors were encountered:
rewrite
Successfully merging a pull request may close this issue.
Describe the feature
In my case, I'm putting all server requests under
/api
then I rewrite it and remove api path and dispatch the request to the actual server.Here's how vite is does it and we need something similar
https://github.com/vitejs/vite/blob/987b8fadc176434b1b18c5dcf15a8cefe434e500/packages/vite/src/node/server/middlewares/proxy.ts#L130
Additional information
The text was updated successfully, but these errors were encountered: