mirror of
https://github.com/crystelf/crystelf-core.git
synced 2025-12-05 10:31:56 +00:00
细节修复
This commit is contained in:
parent
7c2ed2f1de
commit
aad87d4d7e
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "nest-backend",
|
"name": "crystelf-core",
|
||||||
"version": "0.0.1",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "crystelf - working together for a bright future",
|
||||||
"author": "",
|
"author": "Jerryplusy",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -27,7 +27,7 @@ export class PathService {
|
|||||||
userData: path.join(this.baseDir, 'private/data'),
|
userData: path.join(this.baseDir, 'private/data'),
|
||||||
package: path.join(this.baseDir, 'package.json'),
|
package: path.join(this.baseDir, 'package.json'),
|
||||||
modules: path.join(this.baseDir, 'src/modules'),
|
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;
|
return type ? mappings[type] : this.baseDir;
|
||||||
|
|||||||
@ -39,6 +39,6 @@ async function bootstrap() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
bootstrap().then(() => {
|
bootstrap().then(() => {
|
||||||
Logger.log(`API服务已启动:http://localhost:7000/api`);
|
Logger.log(`API服务已启动:http://localhost:6868/api`);
|
||||||
Logger.log(`API文档: http://localhost:7000/docs`);
|
Logger.log(`API文档: http://localhost:6868/docs`);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user