| 123456789101112131415161718 | 'use strict'// 跨域请求设置,可配置多个module.exports = {    table: {        '/': {            // target: 'http://172.200.50.17:8083',            target: 'http://120.55.70.156/api',            // target: 'http://172.16.120.104:8083',            ws: true, // 代理websockets            changeOrigin: true,            pathRewrite: { '': '/' } // '^/api' 是一个正则表达式,作用:将 /api 提换成为 /        },    },    // 本地配置ip访问(手机可通过IP访问),需要修改成本地Ip地址    // localhost: '172.200.50.18',    localhost: '172.16.120.200',    port: '3000',}
 |