Seeking to similar way as webpack dev server proxy does below:
module.exports = {
//...
devServer: {
proxy: {
'/api1': 'http://localhost:3000',
'/api2': 'http://localhost:4000',
},
},
};
But cannot figure out how to do it in wright, can give some hints for this?