From d79121d8aa8725de35184af87acbc90602fa60b5 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Fri, 15 Dec 2023 01:52:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/vite.config.js b/vite.config.js index eacdd94d..e1930ba1 100644 --- a/vite.config.js +++ b/vite.config.js @@ -12,24 +12,8 @@ export default ({ mode, command }) => { port: 2888, proxy: { '/api': { - // target: 'http://192.168.10.126:8889', - // hy - // target: 'http://192.168.10.48:13000', - // lmy - // target: 'http://192.168.10.123:8889', - // target: 'http://192.168.10.101:8888', - // 老zyc - // target: 'http://192.168.10.75:8777', - // 新zyc - // target: 'http://192.168.6.116:8777', - - target: 'http://192.168.6.122:8777', - // target: 'http://192.168.6.116:8777', - // tjj - // sst - // target: 'http://192.168.10.94:8888', - // target: 'http://192.168.10.29:13000', - // target: 'http://h5uapi.huitongys.com', + + // target: 'http://test.api.huitongys.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },