Commit 5ea79910 by Sendya

updated: mock server by:ihx.me

parent 4a684731
...@@ -31,9 +31,11 @@ module.exports = { ...@@ -31,9 +31,11 @@ module.exports = {
modifyVars: { modifyVars: {
/* less 变量覆盖,用于自定义 ant design 主题 */ /* less 变量覆盖,用于自定义 ant design 主题 */
/*
'primary-color': '#F5222D', 'primary-color': '#F5222D',
'link-color': '#F5222D', 'link-color': '#F5222D',
'border-radius-base': '4px', 'border-radius-base': '4px',
*/
}, },
javascriptEnabled: true, javascriptEnabled: true,
} }
...@@ -42,12 +44,12 @@ module.exports = { ...@@ -42,12 +44,12 @@ module.exports = {
devServer: { devServer: {
proxy: { proxy: {
'/api': { '/api': {
target: 'https://www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d/antd-pro', target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
ws: true, ws: false,
changeOrigin: true changeOrigin: true
}, },
'/gateway': { '/gateway': {
target: 'https://www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d/antd-pro', target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/gateway': '/api' '^/gateway': '/api'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment