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

Replaces localhost with 127.0.0.1 in devServer vue.config.js #1906

Merged
merged 1 commit into from Jan 18, 2022

Conversation

mvilanova
Copy link
Contributor

This change seem to solve the following proxying issue:

Proxy error: Could not proxy request /api/v1/organizations?itemsPerPage=50&sortBy[]=name&descending[]=false from localhost:8080 to http://localhost:8000.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

@mvilanova mvilanova added the bug Something isn't working label Jan 18, 2022
@mvilanova
Copy link
Contributor Author

@kevgliss can you test this when you get a change and tell me if it works for you?

@mvilanova
Copy link
Contributor Author

For some reason, using localhost started causing issues for me. I see uvicorn running at http://127.0.0.1:8000 when I start the dev server.

INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)

@kevgliss
Copy link
Contributor

lgtm

@mvilanova mvilanova merged commit 33f577a into master Jan 18, 2022
@mvilanova mvilanova deleted the bugfix/vue-config-devserver-proxy-target-host branch January 18, 2022 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants