module.exports = {
  lintOnSave: false,
  publicPath: process.env.NODE_ENV === "production" ? "./" : "/",
  devServer: {
    port: 3002,
    proxy: {
      "/api": {
        target: 'http://192.168.1.31:10215', //数据中心

        // target: "http://192.168.1.31:10215", // 海南
        changeOrigin: true,
        pathRewrite: {
          "^/api": "",
        },
      },
     
    },
  },
};
