From 23decf10066007dfc6922ee92fea08a6591a4aba Mon Sep 17 00:00:00 2001 From: godakid Date: Fri, 13 Sep 2024 18:59:32 +0800 Subject: [PATCH] hotfix: default port --- src/core/startup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/startup.ts b/src/core/startup.ts index fb668c5..fe4e9ee 100644 --- a/src/core/startup.ts +++ b/src/core/startup.ts @@ -141,7 +141,7 @@ export async function startup(config, cwd) { // 监听 app - .listen(3001 || ~~config.port); + .listen(~~config.port); // 欢迎信息 // @ts-ignore logger.info(`