燕山石化溯源三维电子沙盘-【前端】-Web
1
13693261870
2024-03-27 029d21d8e66a84b03c2fac2beb3c637b8b61b6b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = {
  lintOnSave: false,
  publicPath: "./",
  devServer: {
    proxy: {
      "/yssh": {
        target: "http://192.168.22.19:8080/yssh/", //接口域名
        changeOrigin: true, //是否跨域
        ws: true, //是否代理 websockets
        secure: false, //是否https接口
        pathRewrite: {
          //路径重置
          "^/yssh": "",
        },
      },
    },
  },
};