为什么我这样写错了?第二个接口代理怎么写?
module.exports = {
devServer: {
host: 'localhost',
port: 8080,
proxy: {
'/api': {
target: 'https://api.it120.cc/zcr',
changeOrigin: true,
pathRewrite: {
'/api': '',
},
},
'https://www.alywlzf.com': {
target: 'https://www.alywlzf.com',
changeOrigin: true,
pathRewrite: {
'https://www.alywlzf.com': '',
},
},
},
},
}