Skip to content

Commit

Permalink
Fixed env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Aug 31, 2023
1 parent 001f6da commit 3adb56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/configure.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ConfigModule } from '@nestjs/config';
const configureModule = ConfigModule.forRoot({
envFilePath:
'config/' +
(process.env.node_env === 'production'
(process.env.NODE_ENV === 'production'
? 'production.env'
: 'development.env'),
isGlobal: true,
Expand Down

0 comments on commit 3adb56f

Please sign in to comment.