const path = require("path");
 
module.exports = {
  publicPath: "./",
  devServer: {
    host: "0.0.0.0",
    port: '',
    proxy: {
      "/weixin": {
        target: "https://mem.360lj.com", // 目标 API 地址 电脑
        ws: true,
        changeOrigin: true, // 将主机标头的原点更改为目标URL
        pathRewrite: {
          "^/weixin": "/weixin"
        }
      }
    }
  }
};