webpack-dev-server proxy is used to solve the cross-domain problem in the process of using vue+webpack, in the project, but the address seen by each request interface is a local address, which is not convenient for debugging. How to print the requested interface information in the command window console?
devServer: {
host:"192.168.1.230",
disableHostCheck: true,
proxy:[
{
context: ["/qd", "/logout"],
target: "http://192.168.1.119:11000/psycholConsult/",
secure: false,
changeOrigin:true
}
]
},