yangfeng
2023-09-20 b1d02b4a7a94109f0bbb46efd8d9c4d1a4bd23c0
请求地址修改
1个文件已修改
13 ■■■■ 已修改文件
vue.config.js 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js
@@ -13,12 +13,13 @@
  productionSourceMap: false, // 如果你不需要生产环境的source map, 可以将其设置为false 以加速生产环境构建
  devServer: {
    proxy: {
      "/api": {
        // target: "http://192.168.20.118:8889", // http://192.168.20.119:8002 http://fai365.com:30150/
        // target: "http://192.168.20.120:8004",
        target: "http://192.168.20.119:8004", // http://192.168.20.119:8004 http://fai365.com:30150/
      "/api-s": {
        target: "http://192.168.20.119:8005",
        ws: true,
        changeOrigin: true
      },
      "/api-wms": {
        target: "http://192.168.20.119:8001",
        ws: true,
        changeOrigin: true
      }