-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
config.devServer.proxy doesn't proxy, shows NotFound.vue #1550
Comments
I have created a sample repo that demonstrates this issue: |
I encountered this problem too! I don't know how to fix it. |
I have solved the problem! I update the version of vuepress to 1.0.0-alpha.48 and then figure it out. I find the solution in this Issue #1195. |
@my9074 我上传了demo https://github.com/775146061/vuepressProxyDemo,我觉得可能是你哪儿配置错了,也可能是1.0.0-rc.1这个版本的问题,因为我试了一下用这个版本返回的http状态码是304,然后我升级到1.0.1就好了 |
Bug report
Version Tried in 0.14.11 and 1.0.0-alpha.47
Steps to reproduce
.vuepress/config.js
file with below config:http://localhost:8080/auth/{anything}
What is expected?
Should serve the contents of
http://localhost:7070/auth/{anything}
on port 8080What is actually happening?
Displaying 404 page (NotFound.vue) within vuepress + vue router
Other relevant information
10.13.6
8.11.3
Chrome / v73
local
npm
andyarn
(tried both)yes
The text was updated successfully, but these errors were encountered: