-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
question about proxy #1173
Comments
For further such general questions, I would recommend to visit forum.vuejs.org or chat.vuejs.org |
Hi @LinusBorg Thanks for your reply! The first one actually should be My problem was that, after changing the |
Hi,
I'm trying to proxy all requests
/api/*
tolocalhost:3000/api/*
. No luck for the moment.According to webpack-dev-server, I tried to add the following snippet in
dev
object of fileconfig/index.js
. But it didn't take effect.The browser kept failing with 404 for API requests e.g. "http://localhost:8080/api/login".
Questions:
localhost/api/*
(front-end) tolocalhost:3000/api/*
(back-end)?index.html
with arbitrary link e.g.http://localhost:8080/123/abc/!@$#/
. Why?The text was updated successfully, but these errors were encountered: