From b05f65c77bad153b3b8fbc8ae30366eb76fac9ea Mon Sep 17 00:00:00 2001 From: GiveMePast <1248298477@qq.com> Date: Wed, 25 Feb 2026 17:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=AB=AF=E5=8F=A3=EF=BC=8C=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E4=BB=A3=E7=90=86=EF=BC=8C=E5=B1=9E=E4=BA=8E=E6=9C=AC=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index 465b0af..81a6d78 100644 --- a/vite.config.js +++ b/vite.config.js @@ -17,10 +17,10 @@ export default defineConfig({ }, }, server: { - port: 80, // 前端启动的端口 + port: 8080, // 前端启动的端口 proxy: { '/api': { // 所有以api开头的请求都会被代理 - target: 'http://112.5.15.136:25536', + target: 'http://localhost', changeOrigin: true, } }