This commit is contained in:
oneao committed 2026-02-24 22:25:24 +08:00
1 parent 19b160620f
commit 835958886e
47 files changed
+9573

No files matched your search

@@ -0,0 +1,14 @@
import { Inject, Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
@Injectable()
export class AppService {
@Inject(ConfigService)
private configService: ConfigService;
getHello(): string {
console.log(this.configService.get('server.port'));
return 'Hello World!';
}
}