Compare commits

...

5 Commits
master ... zm

Author SHA1 Message Date
张萌 3d797fe526 Merge branch 'master' into zm
2 years ago
张萌 e79756d81b Merge branch 'master' into zm
2 years ago
张萌 d3956bf7bb Merge branch 'master' into zm
2 years ago
张萌 c67d9db776 Merge branch 'master' into zm
2 years ago
张萌 daca1d80f7 env
2 years ago

@ -4,5 +4,5 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, { module.exports = merge(prodEnv, {
NODE_ENV: '"development"', NODE_ENV: '"development"',
BASE_API: '"/api/"', BASE_API: '"http://localhost/index.php/"',
}) })

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

Loading…
Cancel
Save