From 41a2ddabb399c51821ccd606736d4e4c403c4238 Mon Sep 17 00:00:00 2001 From: luobisheng <727299681@qq.com> Date: 星期四, 24 十一月 2022 17:12:25 +0800 Subject: [PATCH] 上传处置结果处理 --- vue.config.js | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/vue.config.js b/vue.config.js index 0eb08d4..156bf9d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,12 +38,10 @@ }, proxy: { // 璺ㄥ煙閰嶇疆 - "/api": { - target: `http://42.193.1.25:8082`, - changeOrigin: true, - pathRewrite: { - "^/api": '' - } + "/sccg": { + target: `http://42.193.1.25/`, + // target: `http://127.0.0.1:8082/`, + changeOrigin: true } }, // disableHostCheck: true -- Gitblit v1.8.0