From 24651bb15eef5001da725dd69f423dfdbaf485d2 Mon Sep 17 00:00:00 2001 From: zhangsiyu Date: Mon, 24 Jul 2023 10:11:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- vite.config.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 543bad65..1772b859 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules /dist /tests/e2e/videos/ /tests/e2e/screenshots/ +vite.config.js # local env files .env.local @@ -15,7 +16,7 @@ yarn-error.log* # lock files package-lock.json -vite.config.js + yarn.lock # editor directories and files diff --git a/vite.config.js b/vite.config.js index a4671845..b93c008b 100644 --- a/vite.config.js +++ b/vite.config.js @@ -12,7 +12,7 @@ export default ({ mode, command }) => { port: 2888, proxy: { '/api': { - target: 'http://192.168.2.97:9999', + target: 'http://192.168.2.11:8889', //target: 'http://test3.javablade.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''),