Browse Source

优化

master
陈裕财 4 years ago
parent
commit
e4a604665f
  1. 3
      config/index.js

3
config/index.js

@ -10,6 +10,7 @@ module.exports = {
assetsSubDirectory: '', assetsSubDirectory: '',
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
/**
'/api/m1/xm': { '/api/m1/xm': {
target: 'http://localhost:7067', target: 'http://localhost:7067',
changeOrigin: true, changeOrigin: true,
@ -17,7 +18,7 @@ module.exports = {
'^/api/m1/xm': '/xm' '^/api/m1/xm': '/xm'
} }
}, },
/**
'/api/m1/sys': { '/api/m1/sys': {
target: 'http://localhost:7015', target: 'http://localhost:7015',
changeOrigin: true, changeOrigin: true,

Loading…
Cancel
Save