From b62b7a97399cf6d0336a1063379acc27f24f9b1f Mon Sep 17 00:00:00 2001 From: zxy <353513737@qq.com> Date: Mon, 5 Feb 2024 20:59:32 +0800 Subject: [PATCH] config.js --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 654a7bd..dea5b9f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,7 +24,8 @@ module.exports = { proxy: { "/api": { //本地服务接口地址 - target: "http://192.168.31.246:8000", + // target: "http://192.168.31.246:8000", // 本地后台地址 + target: "http://39.98.184.58:8000", // 阿里云后台地址 ws: true, changeOrigin: true, pathRewrite: {