From ba99835e0e9cdd8bce511ddc6ae3147067f5d45f Mon Sep 17 00:00:00 2001 From: cat_shark <1716967236@qq.com> Date: Sat, 2 Aug 2025 11:42:56 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=8C=87=E5=AE=9A=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 ++- .env.production | 3 ++- vite.config.ts | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index 66db44e..494acd4 100644 --- a/.env.development +++ b/.env.development @@ -1 +1,2 @@ -VITE_BASE_URL = 'http://localhost:5157' \ No newline at end of file +VITE_BASE_URL = 'http://localhost:5157' +PORT = 5158 \ No newline at end of file diff --git a/.env.production b/.env.production index 2835021..423817f 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,2 @@ -VITE_BASE_URL = 'http://192.168.123.199:5157' \ No newline at end of file +VITE_BASE_URL = 'http://192.168.123.199:5157' +PORT = 5158 \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 21d97d5..2acf118 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,5 +12,9 @@ export default defineConfig({ alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } + }, + server: { + host: '0.0.0.0', + port: 5158 } })