燕山石化溯源三维电子沙盘-【前端】-Web
13693261870
2024-03-27 85371ee0600d89f3aa74fc79bb8b1a9cb593c84b
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": "",
        },
      },
    },
  },
};