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

Proxy not working if path is existing #101

Open
julianklose opened this issue Jun 25, 2021 · 0 comments
Open

Proxy not working if path is existing #101

julianklose opened this issue Jun 25, 2021 · 0 comments

Comments

@julianklose
Copy link

I noticed, that the proxy is not working if the path is existing in the Nuxt project. During development it would be nice to have an option to overwrite this and proxy all configured requests.
For example: I have some python scripts in the static folder that will be executed over CGI. The dev server just returns the content of the scripts. To prevent this I want to provide the CGI scripts by a different server and proxy the requests during development. In production the nuxt app and the CGI scripts will be provided by the same server. The only workaround I found to make this work is to temporarily rename the files in my static folder during development.
It would be nice to have a "force" option to use the proxy even if the path exists.

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