From 364b0251fcd7bf602778750d1e089c578554900a Mon Sep 17 00:00:00 2001 From: Hooray <304327508@qq.com> Date: Sat, 8 Feb 2025 10:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4vite=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index d93d4da..4c48183 100755 --- a/vite.config.ts +++ b/vite.config.ts @@ -19,6 +19,7 @@ export default defineConfig(({ mode, command }) => { // 开发服务器选项 https://cn.vitejs.dev/config/server-options server: { open: true, + host: true, port: 9000, proxy: { '/proxy': {