| | |
| | | proxy: { |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: `http://192.168.2.10:8095`, |
| | | // target: `http://10.202.20.185:8095`, |
| | | // target: `http://192.168.100.184:8095`, |
| | | target:`http://localhost:8095`, |
| | | // target: `http://192.168.101.135:8095`, |
| | | // target: `http://192.168.101.166:8093`, |
| | | // target: `http://192.168.191.181:8095`, |
| | | // target: `https://www.health-y.cn/lssf`, |
| | | // target: `http://192.168.100.10:8096`, |
| | | target: `http://192.168.100.10:8094`,//省立同德 |
| | | // target: `http://192.168.100.10:8095`,//新华 |
| | | // target: `http://192.168.100.10:8098`,//市一 |
| | | // target:`http://localhost:8095`, |
| | | // target: `http://192.168.100.168:8095`, |
| | | // target:`http://35z1t16164.qicp.vip`, |
| | | // target: `http://220.66.153.137:8095`, |
| | | // target: `http://192.168.100.10:8089`,//南华 |
| | | // target: `https://9.208.38.93:8092/`, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | ['^' + process.env.VUE_APP_BASE_API]: '' |
| | | } |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | disableHostCheck: true |
| | | }, |
| | |
| | | }, |
| | | configureWebpack: { |
| | | name: name, |
| | | // Node 17+ 的 OpenSSL 3 去掉了 md4,webpack4 默认用 md4 算 hash 会报 |
| | | // error:0308010C:digital envelope routines::unsupported,这里换成 sha256 |
| | | output: { |
| | | hashFunction: 'sha256' |
| | | }, |
| | | resolve: { |
| | | alias: { |
| | | '@': resolve('src') |