mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
修改代理
This commit is contained in:
@@ -128,12 +128,13 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/systemapi': {
|
'/systemapi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'http://127.0.0.1:9090',
|
// target: 'http://127.0.0.1:9090',
|
||||||
|
target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel:'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/systemapi': ''
|
// '^/systemapi': ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/uboeApi': {
|
'/uboeApi': {
|
||||||
@@ -156,22 +157,24 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/statApi': {
|
'/statApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'http://127.0.0.1:9080',
|
// target: 'http://127.0.0.1:9080',
|
||||||
|
target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel:'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/statApi': ''
|
// '^/statApi': ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/socialApi': {
|
'/socialApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'http://127.0.0.1:9081',
|
// target: 'http://127.0.0.1:9081',
|
||||||
|
target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel:'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/socialApi': ''
|
// '^/socialApi': ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/report': {
|
'/report': {
|
||||||
@@ -183,6 +186,12 @@ module.exports = {
|
|||||||
'^/report': '/report'
|
'^/report': '/report'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'/infrasApi': {
|
||||||
|
// 目标代理服务器地址
|
||||||
|
target: 'https://u-pre.boe.com',
|
||||||
|
changeOrigin: true,
|
||||||
|
secure: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user