admin-api 传给后端

This commit is contained in:
sin 2019-03-06 20:24:14 +08:00
parent 70bdb63759
commit 1ebc7492fa

View File

@ -83,7 +83,7 @@ export default {
'/admin-api/': { '/admin-api/': {
target: 'http://180.167.213.26:18083/', target: 'http://180.167.213.26:18083/',
changeOrigin: true, changeOrigin: true,
pathRewrite: { '^/admin-api': '' }, pathRewrite: {},
}, },
'/server/api/': { '/server/api/': {
target: 'https://preview.pro.ant.design/', target: 'https://preview.pro.ant.design/',