Commit b98016d80fe1e9cc52aa34cbb9cdba129bf44a32

Authored by 谭毅彬
1 parent 76a3d33a

vue.config.js 构建错误修正

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/vue.config.js
... ... @@ -83,14 +83,7 @@ module.exports = {
83 83 },
84 84  
85 85 devServer: {
86   - host: '0.0.0.0',
87 86 port: 3000,
88   - client: {
89   - webSocketURL: 'ws://0.0.0.0:3000/ws'
90   - },
91   - headers: {
92   - 'Access-Control-Allow-Origin': '*'
93   - },
94 87 // hot: true,
95 88 // disableHostCheck: true,
96 89 // overlay: {
... ... @@ -101,12 +94,6 @@ module.exports = {
101 94 // 'Access-Control-Allow-Origin': '*',
102 95 // },
103 96 proxy: {
104   - // ws: false,
105   - /* '/wms': {
106   - target: 'http://localhost:8080',
107   - ws: false,
108   - changeOrigin: true
109   - }, */
110 97 /* '/api': {
111 98 target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', // mock API接口系统
112 99 ws: false,
... ...