//vue.config.js
module.exports = {
  // 选项...
  // publicPath: 'https://miniapp-api.wxatech.com/app_pages',
  // indexPath: "read_daka.html",
  // assetsDir: "read_static",
  devServer: {
    proxy: {
      '/api': {
        target: "https://miniapp-api.wxatech.com/game-bsdk/",
        changeOrigin: true,
        pathRewrite: {
          "^/api": "/api"
        }
      }
    }
  }
}
