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

For Multi Proxy, requests other than GET go to the first Proxy path #1209

Closed
runia2000 opened this issue May 2, 2018 · 1 comment
Closed

Comments

@runia2000
Copy link

Version
3.0.0-beta.6

Reproduction link
114e085#diff-4e2c5ed8c804940845a451b7ffe71fcc

Steps to reproduce
Create two or more Proxies in the devServer> proxy of vue.config.js
Post request via Axios to second proxy
Ensure that the request is issued to the first proxy
What is expected?
We expect the request to be issued to the appropriate proxy.

What is actually happening?
For Multi Proxy, requests other than GET go to the first Proxy path

This seems to have occurred as a modification of the issue #945

In the PR 114e085#diff-4e2c5ed8c804940845a451b7ffe71fcc, the request other than GET is treated as true.

Therefore, in case of multi proxy, requests other than GET are directed to the first proxy.

@vue-bot
Copy link

vue-bot commented May 2, 2018

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

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

2 participants