You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhishifufei_uniapp/vue.config.js

27 lines
756 B

10 months ago
module.exports = {
devServer: {
proxy: {
'/wap': {
target: "https://demo.zhishi.tczxkj.com",
changeOrigin: true
},
'/admin': {
target: "https://demo.zhishi.tczxkj.com",
changeOrigin: true
},
'/system': {
target: "https://demo.zhishi.tczxkj.com",
changeOrigin: true
},
'/static/js': {
target: "https://demo.zhishi.tczxkj.com",
changeOrigin: true
},
'/wss': {
target: "https://demo.zhishi.tczxkj.com",
changeOrigin: true,
ws: true
}
}
}
}