zhangyanpeng
2020-05-06 d0be57c51de4ed3bf6e8d9a68242f24a5716e65d
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': ''
                }
            }
        }
    }
}