u
This commit is contained in:
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!';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user