diff --git a/vue.config.js b/vue.config.js index bebe49f..798e65c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -28,9 +28,9 @@ module.exports = { proxy: { '/api': { //本地服务接口地址 - // target: 'http://localhost', + target: 'http://localhost', //远程演示服务地址,可用于直接启动项目 - target: 'https://saber.bladex.vip/api', + //target: 'https://saber.bladex.vip/api', ws: true, pathRewrite: { '^/api': '/'