From a57148edfb8d359cd33b42c75f8bce9ccd6cccd2 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <123456> Date: Tue, 28 Nov 2023 09:36:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=AD=A3=E5=BC=8F=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index bd7133ab..d2a2d77e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -22,8 +22,7 @@ export default ({ mode, command }) => { // 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', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },