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

本地不启动后端api,使用代理转发到公共测试环境后端 #30

Open
poorEnMe opened this issue Oct 15, 2021 · 1 comment

Comments

@poorEnMe
Copy link

管理后台直接更改proxy设置 OK
前端项目 webpack.server.dev.config.js 里的mode使用了production,导致dev 模式下后端渲染过程API都直接请求到localhost:8086,proxy没有生效

是不是该改为development,这样能支持前端人员本地不用启动后端

@maoxiaoquan
Copy link
Owner

开发的时候,是两个项目同时跑的,所以代理到8086

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants