File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,11 @@ module.exports = {
31
31
modifyVars : {
32
32
/* less 变量覆盖,用于自定义 ant design 主题 */
33
33
34
+ /*
34
35
'primary-color': '#F5222D',
35
36
'link-color': '#F5222D',
36
37
'border-radius-base': '4px',
38
+ */
37
39
} ,
38
40
javascriptEnabled : true ,
39
41
}
@@ -42,12 +44,12 @@ module.exports = {
42
44
devServer : {
43
45
proxy : {
44
46
'/api' : {
45
- target : 'https://www.easy- mock.com /mock/5b7bce071f130e5b7fe8cd7d /antd-pro' ,
46
- ws : true ,
47
+ target : 'https://mock.ihx.me /mock/5baf3052f7da7e07e04a5116 /antd-pro' ,
48
+ ws : false ,
47
49
changeOrigin : true
48
50
} ,
49
51
'/gateway' : {
50
- target : 'https://www.easy- mock.com /mock/5b7bce071f130e5b7fe8cd7d /antd-pro' ,
52
+ target : 'https://mock.ihx.me /mock/5baf3052f7da7e07e04a5116 /antd-pro' ,
51
53
changeOrigin : true ,
52
54
pathRewrite : {
53
55
'^/gateway' : '/api'
You can’t perform that action at this time.
0 commit comments