topic description
reverse proxy, does the following code still work after creating the instance create ({baseURL: ajaxUrl,timeout: 30000 withcredentials: true})? Or is it equivalent to replacing the following code
sources of topics and their own ideas
related codes
/ / Please paste the code text below (do not replace the code with pictures)
proxyTable: {
"/api":{
target:"https://sspai.com",
host:"sspai.com",
changeOrigin:true
},
"/v1": {
target: "https://sspai.com/api",
host: "sspai.com/api",
changeOrigin:true,
}
},