Merge branch '0.8.X' of https://gitee.com/hdka/klp-oa into 0.8.X

This commit is contained in:
砂糖
2025-07-30 10:53:10 +08:00
5 changed files with 70 additions and 11 deletions

View File

@@ -43,6 +43,21 @@ module.exports = {
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
}
},
// 直接代理WebSocket相关路径
'/websocket': {
target: `http://localhost:8080`,
changeOrigin: true
},
// 直接代理测试路径
'/test': {
target: `http://localhost:8080`,
changeOrigin: true
},
// 直接代理actuator路径
'/actuator': {
target: `http://localhost:8080`,
changeOrigin: true
}
},
disableHostCheck: true