From 277e2301f913e2e66ab2894ad8e805487d57c272 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <123456> Date: Tue, 22 Aug 2023 21:47:46 +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 | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/vite.config.js b/vite.config.js index 41baec6d..21e8a3ca 100644 --- a/vite.config.js +++ b/vite.config.js @@ -12,22 +12,8 @@ export default ({ mode, command }) => { port: 2888, proxy: { '/api': { - // target: 'http://192.168.10.126:8889', - // hy - // target: 'http://192.168.10.48:8888', - // lmy - // target: 'http://192.168.10.123:8889', - // target: 'http://192.168.10.101:8888', - // target: 'http://192.168.10.75:8777', - // cyz - // target: 'http://192.168.10.94:8888', - // tjj - target: 'http://192.168.10.29:13000', - // sst - // target: 'http://192.168.10.94:8888', - // target: 'http://192.168.10.29:13000', - // target: 'http://test.api.huitongys.com', - // target: 'http://h5uapi.huitongys.com', + target: 'http://h5uapi.huitongys.com', + //target: 'http://test3.javablade.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },