zhangyanpeng
2020-04-30 0f49a23a9d4dc7d3eb9a7309f8cd85a316cd4d97
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',
                                
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                  '^/api/api': ''
                }
            }
        }
    }
}