代理地址修改

This commit is contained in:
冷冷 2018-02-23 08:51:19 +08:00
parent c12463b283
commit f1a03b2805

View File

@ -29,14 +29,14 @@ module.exports = {
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
'/auth': { '/auth': {
target: 'http://139.129.231.236:59999', target: 'http://127.0.0.1:9999',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/auth' : '/auth' '^/auth' : '/auth'
} }
}, },
'/admin': { '/admin': {
target: 'http://139.129.231.236:59999', target: 'http://127.0.0.1:9999',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/admin' : '/admin' '^/admin' : '/admin'