vue.config.js

main
赵培友 3 years ago
parent 4d3aa32de8
commit 6c6b35dd5e
  1. 7
      vue.config.js

@ -26,14 +26,15 @@ module.exports = {
proxy: {
'/api': {
//本地服务接口地址
target: 'http://192.168.1.102:81',
target: 'http://192.168.3.36:81',
// target: 'http://192.168.1.102:81',
//远程演示服务地址,可用于直接启动项目
// target: 'https://saber.bladex.vip/api',
// target: 'http://10.133.191.105:81',
ws: true,
pathRewrite: {
'^/api': '/'
}
}
}
}
}
};

Loading…
Cancel
Save