//开发环境配置
const dev = {
    devServer: {
        port: 3000,
        proxy: {
            '/api': {
                target: 'http://132.97.20.38:18080',
                ws: false,
                changeOrigin: true,
                pathRewrite: {
                    //默认所有请求都加了api前缀，需要去掉
                    '^/api': '/'
                }
            }

        }
    }
}

module.exports = dev
