|
@ -11,8 +11,7 @@ async function bootstrap() { |
|
|
const configService = configApp.get<ConfigService>(ConfigService); |
|
|
const configService = configApp.get<ConfigService>(ConfigService); |
|
|
|
|
|
|
|
|
const NODE_ENV = |
|
|
const NODE_ENV = |
|
|
configService.get<'development' | 'production'>('NODE_ENV') ?? |
|
|
configService.get<'development' | 'production'>('NODE_ENV') ?? 'production'; |
|
|
'production'; |
|
|
|
|
|
|
|
|
|
|
|
const app = await NestFactory.create(AppModule, { |
|
|
const app = await NestFactory.create(AppModule, { |
|
|
logger: |
|
|
logger: |
|
|