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