WXL (wul)
6 天以前 fb34ba28cb908bd328cf6690ab0b19a56428f4e2
vue.config.js
@@ -37,13 +37,15 @@
      [process.env.VUE_APP_BASE_API]: {
        // 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:8094`,//省立同德
        // target: `http://192.168.100.10:8095`,//新华
        target:`http://localhost: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://192.168.100.111:8095`,
        // target: `http://192.168.101.166:8093`,
        // target: `http://192.168.191.181:8095`,
        // 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]: ''
@@ -62,6 +64,11 @@
  },
  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')