From e0699feb382ad3c01040f135f53698ac5c6ec84e Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期五, 19 四月 2024 10:42:24 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes --- UI-Project/vite.config.js | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/UI-Project/vite.config.js b/UI-Project/vite.config.js index c0255a0..d89091a 100644 --- a/UI-Project/vite.config.js +++ b/UI-Project/vite.config.js @@ -22,17 +22,17 @@ https: false, proxy: { '/api': { - target: 'http://localhost:8080/mesModuleTools', + target: 'http://localhost:88/', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, '/'), }, - '/api2': { - target: 'http://localhost:8085/mesModuleTools', - changeOrigin: true, - pathRewrite: { - '^/api2': '', - }, - }, + // '/api2': { + // target: 'http://localhost:8085/mesModuleTools', + // changeOrigin: true, + // pathRewrite: { + // '^/api2': '', + // }, + // }, }, }, configureServer: ({ middlewares }) => { -- Gitblit v1.8.0