-
Notifications
You must be signed in to change notification settings - Fork 114
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
本地不启动后端api,使用代理转发到公共测试环境后端 #30
Comments
开发的时候,是两个项目同时跑的,所以代理到8086 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
管理后台直接更改proxy设置 OK
前端项目 webpack.server.dev.config.js 里的mode使用了production,导致dev 模式下后端渲染过程API都直接请求到localhost:8086,proxy没有生效
是不是该改为development,这样能支持前端人员本地不用启动后端
The text was updated successfully, but these errors were encountered: