Skip to content

Commit 2b4427e

Browse files
committed
updated: mock server by:ihx.me
1 parent d293a57 commit 2b4427e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

vue.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ module.exports = {
3131
modifyVars: {
3232
/* less 变量覆盖,用于自定义 ant design 主题 */
3333

34+
/*
3435
'primary-color': '#F5222D',
3536
'link-color': '#F5222D',
3637
'border-radius-base': '4px',
38+
*/
3739
},
3840
javascriptEnabled: true,
3941
}
@@ -42,12 +44,12 @@ module.exports = {
4244
devServer: {
4345
proxy: {
4446
'/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,
4749
changeOrigin: true
4850
},
4951
'/gateway': {
50-
target: 'https://www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d/antd-pro',
52+
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
5153
changeOrigin: true,
5254
pathRewrite: {
5355
'^/gateway': '/api'

0 commit comments

Comments
 (0)