From 1ed02ba918771843326e1ad72bce63265489b535 Mon Sep 17 00:00:00 2001 From: zhang1106 <849185023@qq.com> Date: Sat, 20 Dec 2025 10:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8vite.config.js=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0host=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/vite.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/vite.config.js b/frontend/vite.config.js index a6748bc..d703d42 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [react()], server: { + host: '0.0.0.0', port: 3000, proxy: { '/api': {