mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
修改
This commit is contained in:
@@ -9,6 +9,12 @@ VUE_APP_BASE_API = '/systemapi'
|
||||
# BOE管理系统/开发环境
|
||||
VUE_APP_BOE_BASE_API = '/uboeApi'
|
||||
|
||||
# 资源位的api
|
||||
VUE_APP_CESOURCE_BASE_API = '/subgroupApi'
|
||||
|
||||
# 事件的api
|
||||
VUE_APP_STAT_BASE_API = '/statApi'
|
||||
|
||||
# BOE系统网址
|
||||
VUE_APP_BOE_WEB_URL = 'https://u.boe.com'
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ module.exports = {
|
||||
proxy: {
|
||||
'/systemapi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://localhost:9090',
|
||||
target: 'http://192.168.0.10:9090',
|
||||
changeOrigin: true,
|
||||
logLevel:'debug',
|
||||
secure: false,
|
||||
@@ -131,6 +131,26 @@ module.exports = {
|
||||
'^/uboeApi': '/api'
|
||||
}
|
||||
},
|
||||
'/statApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://192.168.0.107:9080',
|
||||
changeOrigin: true,
|
||||
logLevel:'debug',
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
'^/statApi': ''
|
||||
}
|
||||
},
|
||||
'/subgroupApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://192.168.0.107:9081',
|
||||
changeOrigin: true,
|
||||
logLevel:'debug',
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
'^/subgroupApi': ''
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user