diff --git a/vue.config.js b/vue.config.js index 52172d9..0b9ff84 100644 --- a/vue.config.js +++ b/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': '/' } - } + } } } };