From aad87d4d7e6effb4e8828e0bca56d6b8807ab1f8 Mon Sep 17 00:00:00 2001 From: Jerryplusy Date: Tue, 26 Aug 2025 20:23:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 ++++---- src/core/path/path.service.ts | 2 +- src/main.ts | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 155e57d..48075fd 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "nest-backend", - "version": "0.0.1", - "description": "", - "author": "", + "name": "crystelf-core", + "version": "1.0.0", + "description": "crystelf - working together for a bright future", + "author": "Jerryplusy", "private": true, "license": "UNLICENSED", "scripts": { diff --git a/src/core/path/path.service.ts b/src/core/path/path.service.ts index 353632b..6a0ca11 100644 --- a/src/core/path/path.service.ts +++ b/src/core/path/path.service.ts @@ -27,7 +27,7 @@ export class PathService { userData: path.join(this.baseDir, 'private/data'), package: path.join(this.baseDir, 'package.json'), modules: path.join(this.baseDir, 'src/modules'), - words: path.join(this.baseDir, 'private/word'), + words: path.join(this.baseDir, 'private/words/src'), }; return type ? mappings[type] : this.baseDir; diff --git a/src/main.ts b/src/main.ts index 1f3b960..a032f3a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -39,6 +39,6 @@ async function bootstrap() { }); } bootstrap().then(() => { - Logger.log(`API服务已启动:http://localhost:7000/api`); - Logger.log(`API文档: http://localhost:7000/docs`); + Logger.log(`API服务已启动:http://localhost:6868/api`); + Logger.log(`API文档: http://localhost:6868/docs`); });