-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
配置正式环境 url #44
Comments
我注释掉了mock但是还是发不出proxy的请求,请问我应该再改哪些地方才能在本地使用proxy |
@encorehe,没有其他地方了,不过你可以在 |
@mtboom,如果要使用可以本地proxy,
|
@zuiidea 问题已经解决 |
@mtboom |
我用springboot的zuul做的代理 配置如下,坑了我好久的是必须配置/base/而不是/base,希望能给大家帮助 package.json中 "scripts": { zuul配置如下 #eit反向代理到8000端口,多个用,分隔 |
你好 我如何配置正式环境的 url 参数呢? 是注释掉 src/utils/index.js 里面的 require('./mock.js'),然后写死放到请求接口里面吗?类似这样 return request('192.168.1.123:8080/api/login', {
method: 'post',
data: params
}) 还是有地方可以配置啊,怎么配置呢?
谢谢!
The text was updated successfully, but these errors were encountered: