From 4234ac207de71f5e3fcf58f24ba925d88d36e558 Mon Sep 17 00:00:00 2001 From: D8D Developer Date: Thu, 1 May 2025 00:08:07 +0000 Subject: [PATCH] =?UTF-8?q?"=E8=B0=83=E6=95=B4=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E7=9B=91=E5=90=AC=E7=AB=AF=E5=8F=A3=E8=87=B38080=EF=BC=8C?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9B=B8=E5=85=B3=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- server/run_app.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2903eeb..63c2b22 100644 --- a/README.md +++ b/README.md @@ -167,8 +167,8 @@ const runTemplate = async () => { }) // 启动服务器 - Deno.serve({ port: 8000 }, appInstance.fetch) - console.log('应用已启动,监听端口: 8000') + Deno.serve({ port: 8080 }, appInstance.fetch) + console.log('应用已启动,监听端口: 8080') } } catch (error) { console.error('模板加载失败:', error) diff --git a/server/run_app.ts b/server/run_app.ts index 427503b..c2b5b66 100644 --- a/server/run_app.ts +++ b/server/run_app.ts @@ -69,8 +69,8 @@ const runTemplate = async () => { }) // 启动服务器 - Deno.serve({ port: 8000 }, appInstance.fetch) - console.log('应用已启动,监听端口: 8000') + Deno.serve({ port: 8080 }, appInstance.fetch) + console.log('应用已启动,监听端口: 8080') } } catch (error) { console.error('模板加载失败:', error)