智慧保安互联网APP
zengh
2022-06-21 4efeb31d5b4921d7e851c256009486ad86bc70e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
    // 配置路径别名
    configureWebpack: {
        devServer: {
            disableHostCheck: true
        }
    },
    // devServer: {
    //     port: 1888,
    //     // disableHostCheck: true,
    //     proxy: {
    //       '/api': {
    //         //本地服务接口地址
    //         // target: 'http://localhost',
            // target: 'http://192.168.0.114:81',//钟W
    //         target: 'http://192.168.0.109:81',//tangW
    //         // target: 'http://192.168.0.104:80',//唐N
    //         //远程演示服务地址,可用于直接启动项目
    //         // target: 'https://saber.bladex.vip/api',
    //         ws: true,
    //         pathRewrite: {
    //           '^/api': '/'
    //         }
    //       }
    //     }
    //   }
}