From 12fd8f6b04b26ef02bccdf5fd0bcefb59541c7f6 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期三, 02 十一月 2022 17:04:23 +0800 Subject: [PATCH] :预警研判 --- vue.config.js | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/vue.config.js b/vue.config.js index 0eb08d4..957682a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,12 +38,9 @@ }, proxy: { // 璺ㄥ煙閰嶇疆 - "/api": { - target: `http://42.193.1.25:8082`, - changeOrigin: true, - pathRewrite: { - "^/api": '' - } + "/sccg": { + target: `http://42.193.1.25:8082/`, + changeOrigin: true } }, // disableHostCheck: true -- Gitblit v1.8.0