燕山石化溯源三维电子沙盘-【前端】-Web
surprise
2024-04-09 71f13ae626284e476a300b08a5f9e2c0f188544c
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": "",
        },
      },
    },
  },
};