/*
 * @Author: 付刚
 * @Date: 2021-06-03 18:19:56
 * @LastEditors: 许宏杰
 * @LastEditTime: 2022-06-21 14:14:20
 * @FilePath: \MuduAPP\vue.config.js
 */
module.exports = {
  publicPath: '/demo/mudu-vx/', //APP打包
  // publicPath: '/demo/mudu-app-ceshi/',
  // publicPath: '/demo/mudu-app-zhengshi/',

  devServer: {
    proxy: {
         '/api': {
        target: 'http://221.229.220.83:86', //代理接口
        changeOrigin: true,
        pathRewrite: {}
      }
      // '/mdzServer': {
      //   target: 'http://www.jichuanglanhai.com:89', //代理接口
      //   changeOrigin: true,
      //   pathRewrite: {},
      // },
      // '/api/staticfile/video/': {
      //   target: 'http://39.101.188.84:89', //代理接口
      //   changeOrigin: true,
      //   pathRewrite: {},
      // },
      // '/mudu/': {
      //   target: 'http://localhost:9028', //代理接口
      //   changeOrigin: true,
      //   pathRewrite: {},
      // },
    },
  },
}
