张萌 2 years ago
parent 3939ac8238
commit daca1d80f7

@ -11,16 +11,15 @@ module.exports = {
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
'/api': { '/api': {
target: 'http://192.168.50.39:8088', target: 'http://127.0.0.1/',
changeOrigin: true,
changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/api': '' '^/api': ''
} }
}, },
'/file': { '/file': {
target: 'http://192.168.50.39:8088/', target: 'http://127.0.0.1/',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/file': '' '^/file': ''
} }

Loading…
Cancel
Save