Commit 7f479fd06945f2536113e29564dbe1e02c60f359

Authored by 谭毅彬
1 parent 70224772

WebSocket connection 问题修复

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/vue.config.js
... ... @@ -94,11 +94,12 @@ module.exports = {
94 94 // 'Access-Control-Allow-Origin': '*',
95 95 // },
96 96 proxy: {
97   - '/wms': {
  97 + ws: false,
  98 + /* '/wms': {
98 99 target: 'http://localhost:8080',
99 100 ws: false,
100 101 changeOrigin: true
101   - },
  102 + }, */
102 103 /* '/api': {
103 104 target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', // mock API接口系统
104 105 ws: false,
... ...