module.exports = {
    devServer: {
        port: 1887,
        proxy: {
            '/api': {
                target: 'http://10.165.0.173:8000',
                ws: true,
                pathRewrite: {
                    '^/api': '/'
                }
            },
            '/qq/map': {
                //本地服务接口地址
                target: 'https://apis.map.qq.com',
                ws: true,
                pathRewrite: {
                    '^/qq/map': '/'
                }
            }
        }
    }
};