代理设置已完成
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
//设置代理,可解决跨5
|
//设置代理,可解决跨5
|
||||||
'/lan': {
|
'/lan': {
|
||||||
target: 'http://192.168.1.87:9000',
|
target: 'http://dvcp.sinocare.net',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
//地址重写
|
//地址重写
|
||||||
@@ -97,7 +97,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/lns': {
|
'/lns': {
|
||||||
target: 'http://localhost:12525',
|
target: 'http://dvcp.sinocare.net',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
//地址重写
|
//地址重写
|
||||||
|
|||||||
Reference in New Issue
Block a user