From 89caf91688331ef01b32c6b1ef839d013fe7018f Mon Sep 17 00:00:00 2001 From: jiangrui Date: Tue, 17 Dec 2024 14:20:05 +0800 Subject: [PATCH] fix:change the default back-end port --- backend/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app.ts b/backend/src/app.ts index c88ef27..046e5d3 100644 --- a/backend/src/app.ts +++ b/backend/src/app.ts @@ -22,7 +22,7 @@ app.use("/", routes); // 错误处理 app.use(errorHandler); -const PORT = process.env.PORT || 3000; +const PORT = process.env.PORT || 8009; app.listen(PORT, () => { console.log(`Server is running on port ${PORT}`); });