diff --git a/vue.config.js b/vue.config.js index ca532eb..01d69fd 100644 --- a/vue.config.js +++ b/vue.config.js @@ -40,7 +40,7 @@ module.exports = { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: 'http://192.168.90.92:8888', // 后端接口地址 + target: 'http://localhost:8888', // 后端接口地址 // target: 'http://192.168.0.31:8888/', // 后端接口地址 changeOrigin: true, pathRewrite: { @@ -49,7 +49,7 @@ module.exports = { }, msgHub: { - target: 'http://192.168.90.92:8888/msgHub', + target: 'http://localhost:8888/msgHub', // target: 'http://192.168.0.31:8888/msgHub', ws: true, changeOrigin: true,