Click in order · NestJS course · Module 1: NestJS Basics
ConfigModule Registration
Arrange the elements of ConfigModule registration in the correct order:
Items to click
- })
- envFilePath: '.env',
- isGlobal: true
- ConfigModule.forRoot({
Show the answer
Correct order:
- ConfigModule.forRoot({
- envFilePath: '.env',
- isGlobal: true
- })