From 43ec621685521f93d7a148306a8a8d07dbe9b12f Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Wed, 10 Jul 2024 16:16:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue.config.js b/vue.config.js index fd91d71..86367af 100644 --- a/vue.config.js +++ b/vue.config.js @@ -25,6 +25,7 @@ module.exports = defineConfig({ //target: "http://192.168.1.190:8080", //190 需要去掉/Api // target: "http://61.169.135.146:9911/", //运维 覆冰 target: "http://61.169.135.146:40080/", //dell + //target: "http://192.168.50.198:8093", //java本机 changOrigin: true, //是否开启跨域 pathRewrite: { "^/api": "/api", //重写api,把api变成空字符,因为我们真正请求的路径是没有api的