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 to disable the proxy for API requests? #6

Open
hyvyys opened this issue Jun 6, 2024 · 0 comments
Open

Is it possible to disable the proxy for API requests? #6

hyvyys opened this issue Jun 6, 2024 · 0 comments

Comments

@hyvyys
Copy link

hyvyys commented Jun 6, 2024

I am not sure that is what is happening, but I think the API responses (that I handle via Vite's regular proxy options) are also "transformed" by vite-plugin-proxy-page, which leads to conversion of the JSON response into text printed inside HTML and quite some headaches trying to make it work.

Is it possible to only trigger the plugin for the index.html?

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

1 participant