vue2-client 1.20.44 → 1.20.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.20.44",
3
+ "version": "1.20.45",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -236,9 +236,9 @@ export default {
236
236
  let currentContent = ''
237
237
  let stopConnection = null
238
238
 
239
- // 使用代理路径,避免跨域问题
239
+ // 直接使用完整路径
240
240
  stopConnection = startEventStreamPOST(
241
- '/api/af-his/ai/chat/stream',
241
+ '/his-web/api/af-his/ai/chat/stream',
242
242
  {
243
243
  userMessage,
244
244
  chatId,
package/vue.config.js CHANGED
@@ -133,11 +133,6 @@ module.exports = {
133
133
  changeOrigin: true,
134
134
  secure: false,
135
135
  ws: false
136
- },
137
- '/api/af-his': {
138
- target: v3Server,
139
- pathRewrite: { '^/api/af-his': '/his-web/api/af-his' },
140
- changeOrigin: true
141
136
  }
142
137
  },
143
138
  client: {