zhangyanpeng
2020-05-28 5346354c8b6685d4c111041a8c5a4d61dae13050
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = {
   publicPath: './',
     outputDir: 'dist',
    devServer: {
        proxy: {
            '/api/api': {
                target: 'http://srs.highdatas.com:8090',
               // target: 'http://192.168.31.233:8090',
                            //    target: 'http://ichwt2.natappfree.cc',
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                  '^/api/api': ''
                }
            }
        }
    }
}