-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
devServer proxy does not work as advertised #945
Comments
@yyx990803 Why close this issue? You haven't resolved this problem yet. I think a |
Just to clarify this was partially resolved in Beta-6 release. |
This was referenced May 2, 2018
@Rayraegah Has this problem been solved? |
This was referenced Mar 7, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.0.0-beta.5
Reproduction link
https://github.com/Rayraegah/cli-error-axios
Steps to reproduce
What is expected?
The axios post request should be proxied to
https://api.github.com
likeGET
requests do. Sometimes theGET
requests are not proxied.What is actually happening?
The axios request goes to
https://localhost:8080/gists/...
instead ofhttps://api.github.com/gists
The issue is the same as the one in
create-react-app
that was resolved recently.refer: facebook/create-react-app#3726 and facebook/create-react-app#3311
On my main repo, GET requests were successful, only POST failed. But in the test repo - both GET and POST end in errors.
The text was updated successfully, but these errors were encountered: