diff --git a/vue.config.js b/vue.config.js index c0bdd6d..5d62507 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,8 +3,8 @@ module.exports = { port: 1887, proxy: { '/api': { - //本地服务接口地址 - target: 'http://39.98.184.58:8000', + // target: 'http://127.0.0.1:8000', // 本地服务接口地址 + target: "http://39.98.184.58:8000", // 阿里云后台地址 ws: true, pathRewrite: { '^/api': '/'