增加信息
This commit is contained in:
@@ -37,10 +37,10 @@ export default {
|
||||
},
|
||||
},
|
||||
dev: {
|
||||
'/admin/': {
|
||||
'/api/': {
|
||||
target: 'http://192.168.1.32:1002',
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/admin': '/admin' },
|
||||
pathRewrite: { '^/api': '/api' },
|
||||
},
|
||||
},
|
||||
pre: {
|
||||
@@ -50,18 +50,4 @@ export default {
|
||||
pathRewrite: { '^/admin': '/admin' },
|
||||
},
|
||||
},
|
||||
prod: {
|
||||
'/admin/': {
|
||||
target: 'https://iadminapi.zhongshuai2023.com',
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/admin': '/admin' },
|
||||
},
|
||||
},
|
||||
pro: {
|
||||
'/admin/': {
|
||||
target: 'https://iadminapi.zhongshuai2023.com',
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/admin': '/admin' },
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user