WXL
2025-01-23 0c2a0bd783fd2721deacdaff6fb26d73619f0662
vue.config.js
@@ -7,7 +7,7 @@
const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '患者智慧服务系统' // 网页标题
const name = process.env.VUE_APP_TITLE || '浙中医大二院智慧随访平台' // 网页标题
const port = process.env.port || process.env.npm_config_port || 8093 // 端口
@@ -35,9 +35,13 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `http://192.168.1.10:8095`,
        // target:`http://localhost:8095`,
        target: `http://192.168.101.135:8095`,
        // target: `http://192.168.2.13: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`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''